VirtualBox

Ignore:
Timestamp:
Mar 22, 2013 9:28:29 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: misc bugxifes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp

    r45132 r45148  
    991991                    CHECK_ERROR_BREAK(pConsole, COMGETTER(Display)(pDisplay.asOutParam()));
    992992
     993                    crServerVBoxCompositionSetEnableStateGlobal(GL_FALSE);
     994
    993995                    rc = crVBoxServerSetScreenCount(monitorCount);
    994996                    AssertRCReturn(rc, rc);
     
    10161018                    g_pConsole = pConsole;
    10171019
     1020                    crServerVBoxCompositionSetEnableStateGlobal(GL_TRUE);
     1021
    10181022                    rc = VINF_SUCCESS;
    10191023                }
     
    11051109                CHECK_ERROR_RET(g_pConsole, COMGETTER(Display)(pDisplay.asOutParam()), rc);
    11061110                CHECK_ERROR_RET(pDisplay, GetFramebuffer(screenId, pFramebuffer.asOutParam(), &xo, &yo), rc);
     1111
     1112                crServerVBoxCompositionSetEnableStateGlobal(GL_FALSE);
    11071113
    11081114                if (!pFramebuffer)
     
    11301136                    }
    11311137                }
     1138
     1139                crServerVBoxCompositionSetEnableStateGlobal(GL_TRUE);
    11321140
    11331141                rc = VINF_SUCCESS;
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