Changeset 55212 in vbox for trunk/src/VBox
- Timestamp:
- Apr 13, 2015 3:50:18 PM (10 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_diff.c
r53400 r55212 308 308 { 309 309 CRFBDataElement *el = &data->aElements[i]; 310 bool fUseRenderBuffer =311 (el->enmFormat == GL_STENCIL_INDEX || el->enmFormat == GL_DEPTH_COMPONENT || el->enmFormat == GL_DEPTH_STENCIL);312 310 #if 0 313 311 char fname[200]; … … 345 343 } 346 344 347 /* Bind to corresponding buffer. */ 348 if (fUseRenderBuffer) 349 diff_api.BindRenderbufferEXT(GL_RENDERBUFFER_EXT, el->idFBO); 350 else 351 diff_api.BindFramebufferEXT(GL_DRAW_FRAMEBUFFER, el->idFBO); 345 diff_api.BindFramebufferEXT(GL_DRAW_FRAMEBUFFER, el->idFBO); 352 346 353 347 if (el->enmBuffer) … … 386 380 diff_api.Disable(GL_STENCIL_TEST); 387 381 } 388 389 /* Bind to window system default buffer. */390 if (fUseRenderBuffer)391 diff_api.BindRenderbufferEXT(GL_RENDERBUFFER_EXT, 0);392 else393 diff_api.BindFramebufferEXT(GL_DRAW_FRAMEBUFFER, 0);394 382 } 395 383 -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r54905 r55212 1367 1367 { 1368 1368 pEl = &pData->aElements[pData->cElements]; 1369 pEl->idFBO = pMural ->idDepthStencilRB;1369 pEl->idFBO = pMural && pMural->fRedirected ? pMural->aidFBOs[CR_SERVER_FBO_FB_IDX(pMural)] : 0; 1370 1370 pEl->enmBuffer = 0; /* we do not care */ 1371 1371 pEl->posX = 0;
Note:
See TracChangeset
for help on using the changeset viewer.