VirtualBox

Ignore:
Timestamp:
Feb 18, 2013 8:12:40 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: fix server cleanup

File:
1 edited

Legend:

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

    r44740 r44744  
    150150    crFree( cr_server.overlap_intens );
    151151    cr_server.overlap_intens = NULL;
     152
     153    /* needed to make sure window dummy mural not get created on mural destruction
     154     * and generally this should be zeroed up */
     155    cr_server.currentCtxInfo = NULL;
     156    cr_server.currentWindow = NULL;
     157    cr_server.currentNativeWindow = 0;
     158    cr_server.currentMural = NULL;
     159
     160    /* sync our state with renderspu,
     161     * do it before mural & context deletion to avoid deleting currently set murals/contexts*/
     162    cr_server.head_spu->dispatch_table.MakeCurrent(0, 0, 0);
    152163
    153164    /* Deallocate all semaphores */
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