VirtualBox

Ignore:
Timestamp:
Sep 17, 2009 1:48:46 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52452
Message:

crOpenGL: fix FBO/RBOs support, add snapshots compatibility

File:
1 edited

Legend:

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

    r21990 r23094  
    601601    if (cr_server.curClient)
    602602    {
    603         crServerDispatchMakeCurrent(cr_server.curClient->currentWindow, 0, pContext->id);
     603        unsigned long id;
     604        if (!crHashtableGetDataKey(cr_server.contextTable, pContext, &id))
     605        {
     606            crWarning("No client id for server ctx %d", pContext->id);
     607        }
     608        else
     609        {
     610            crServerDispatchMakeCurrent(cr_server.curClient->currentWindow, 0, id);
     611        }
    604612    }
    605613#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette