VirtualBox

Ignore:
Timestamp:
Feb 12, 2014 3:55:20 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: assertion fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r50405 r50429  
    177177    /* synchronize with reality */
    178178    fOldEnableDiff = crStateEnableDiffOnMakeCurrent(GL_FALSE);
    179     Assert(cr_server.MainContextInfo.pContext);
    180     crStateMakeCurrent(cr_server.MainContextInfo.pContext);
     179    if(cr_server.MainContextInfo.pContext)
     180        crStateMakeCurrent(cr_server.MainContextInfo.pContext);
    181181    crStateEnableDiffOnMakeCurrent(fOldEnableDiff);
    182182
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