Changeset 29134 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- May 6, 2010 11:24:35 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61201
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_context.c
r27889 r29134 182 182 crServerDispatchMakeCurrent( GLint window, GLint nativeWindow, GLint context ) 183 183 { 184 CRMuralInfo *mural ;184 CRMuralInfo *mural, *oldMural; 185 185 CRContext *ctx; 186 186 … … 205 205 } 206 206 else { 207 oldMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, cr_server.currentWindow); 208 if (oldMural && oldMural->bUseFBO 209 && crServerSupportRedirMuralFBO() 210 && !crStateGetCurrent()->framebufferobject.drawFB) 211 { 212 cr_server.head_spu->dispatch_table.BindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); 213 } 214 207 215 ctx = cr_server.DummyContext; 208 216 window = -1; … … 245 253 cr_server.currentWindow, window); 246 254 */ 255 256 oldMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, cr_server.currentWindow); 247 257 248 258 if (1/*cr_server.firstCallMakeCurrent || … … 266 276 /* This used to be earlier, after crStateUpdateColorBits() call */ 267 277 crStateMakeCurrent( ctx ); 268 } 269 278 279 if (oldMural != mural && crServerSupportRedirMuralFBO()) 280 { 281 if (!crStateGetCurrent()->framebufferobject.drawFB) 282 { 283 cr_server.head_spu->dispatch_table.BindFramebufferEXT(GL_FRAMEBUFFER_EXT, mural->bUseFBO ? mural->idFBO:0); 284 } 285 } 286 } 287 -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r28534 r29134 182 182 { 183 183 cr_server.currentWindow = -1; 184 crServerRedirMuralFBO(mural, GL_FALSE); 185 crServerDeleteMuralFBO(mural); 184 186 } 185 187
Note:
See TracChangeset
for help on using the changeset viewer.