VirtualBox

Changeset 41253 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
May 11, 2012 12:11:08 PM (13 years ago)
Author:
vboxsync
Message:

crOpenGL: context switch fix for offscreen rendering

File:
1 edited

Legend:

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

    r40691 r41253  
    545545             int clientContext = cr_server.curClient->currentContextNumber;
    546546             CRContextInfo *clientCtxInfo = cr_server.curClient->currentCtxInfo;
    547              if (clientCtxInfo != cr_server.currentCtxInfo) {
     547             if (clientCtxInfo != cr_server.currentCtxInfo
     548                     || clientWindow != cr_server.currentWindow) {
    548549                 crServerDispatchMakeCurrent(clientWindow, 0, clientContext);
    549550                 /*
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