VirtualBox

Changeset 46887 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
Jul 1, 2013 2:40:44 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL/wgl: more correct repaint handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_wgl.c

    r45132 r46887  
    447447
    448448                        renderspuVBoxPresentCompositionGeneric(pWindow, pCompositor, NULL, 1);
     449
     450                        bRc = EndPaint(pWindow->hWnd, &Paint);
     451
     452                        pWindow->redraw_device_context = NULL;
     453
    449454                        renderspuVBoxCompositorRelease(pWindow);
    450455
    451                         bRc = EndPaint(pWindow->hWnd, &Paint);
    452456                        if (!bRc)
    453457                        {
     
    455459                            crWarning("EndPaint failed, winEr %d", winEr);
    456460                        }
    457 
    458                         pWindow->redraw_device_context = NULL;
    459461                    }
    460462                    else
     
    13661368             * various tables. This is hack which just hides the root case.
    13671369             */
    1368             crWarning("Recreating window in renderspu_SystemMakeCurrent\n");
     1370//            crWarning("Recreating window in renderspu_SystemMakeCurrent\n");
    13691371            renderspu_SystemDestroyWindow( window );
    13701372            renderspu_SystemVBoxCreateWindow( context->visual, window->visible, window );
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette