VirtualBox

Ignore:
Timestamp:
Oct 17, 2009 2:51:40 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53598
Message:

crOpenGL: make sure window being destroyed isn't bound to opengl contexts

File:
1 edited

Legend:

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

    r21576 r23840  
    119119}
    120120
    121 void crServerCheckCurrentCtxWindowCB(unsigned long key, void *data1, void *data2)
    122 {
    123     CRContext *crCtx = (CRContext *) data1;
    124     GLint window = *(GLint*)data2;
    125 
    126     (void) key;
    127 }
    128 
    129121void SERVER_DISPATCH_APIENTRY
    130122crServerDispatchWindowDestroy( GLint window )
     
    194186    }
    195187
    196     crHashtableWalk(cr_server.contextTable, crServerCheckCurrentCtxWindowCB, &window);
    197188    crHashtableDelete(cr_server.pWindowCreateInfoTable, window, crServerCreateInfoDeleteCB);
    198189    crHashtableDelete(cr_server.muralTable, window, crFree);
    199190}
    200 
    201191
    202192void SERVER_DISPATCH_APIENTRY
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