VirtualBox

Changeset 43285 in vbox


Ignore:
Timestamp:
Sep 11, 2012 9:35:18 AM (12 years ago)
Author:
vboxsync
Message:

crOpenGL/win: fix window flashing, take 2

File:
1 edited

Legend:

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

    r43266 r43285  
    11281128    /* Intel drivers require a window to be visible for proper 3D rendering,
    11291129     * so set it visible and handle the visibility with visible regions (see below) */
    1130     ShowWindow( window->hWnd, SW_SHOWNORMAL );
     1130    if (window->id)
     1131    {
     1132        ShowWindow( window->hWnd, SW_SHOWNORMAL );
     1133    }
     1134    else
     1135    {
     1136        CRASSERT(!showIt);
     1137        /* dummy window is always hidden in any way */
     1138    }
    11311139
    11321140    //SetForegroundWindow( visual->hWnd );
     
    12671275             * various tables. This is hack which just hides the root case.
    12681276             */
    1269             crWarning("Recreating window in renderspu_SystemMakeCurrent\n");
     1277            crDebug("Recreating window in renderspu_SystemMakeCurrent\n");
    12701278            renderspu_SystemDestroyWindow( window );
    12711279            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