VirtualBox

Ignore:
Timestamp:
Apr 16, 2014 3:29:15 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: CrCmd on/off switch fixes

File:
1 edited

Legend:

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

    r51072 r51085  
    30483048    {
    30493049        cr_server.head_spu->dispatch_table.DestroyContext(cr_server.MainContextInfo.SpuContext);
     3050        crStateDestroyContext(cr_server.MainContextInfo.pContext);
     3051        if (cr_server.MainContextInfo.CreateInfo.pszDpyName)
     3052            crFree(cr_server.MainContextInfo.CreateInfo.pszDpyName);
     3053
    30503054        memset(&cr_server.MainContextInfo, 0, sizeof (cr_server.MainContextInfo));
    30513055    }
     
    30623066    cr_server.currentMural = NULL;
    30633067
    3064     crStateCleanupCurrent();
     3068    crStateDestroy();
     3069//    crStateCleanupCurrent();
    30653070
    30663071    if (CrBltIsInitialized(&cr_server.Blitter))
     
    30813086    CRASSERT(!cr_server.MainContextInfo.SpuContext);
    30823087
    3083     crStateSetCurrent(NULL);
     3088//    crStateSetCurrent(NULL);
     3089    crStateInit();
    30843090
    30853091    CrPMgrEnable();
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