Changeset 22363 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker
- Timestamp:
- Aug 20, 2009 9:46:01 AM (15 years ago)
- Location:
- trunk/src/VBox/GuestHost/OpenGL/state_tracker
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_diff.c
r15532 r22363 235 235 } 236 236 #endif 237 #ifdef CR_EXT_framebuffer_object 238 crStateFramebufferObjectSwitch(from, to); 239 #endif 237 240 if (CHECKDIRTY(sb->current.dirty, bitID)) 238 241 { -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_framebuffer.c
r22155 r22363 515 515 /*@todo*/ 516 516 } 517 518 DECLEXPORT(void) STATE_APIENTRY 519 crStateFramebufferObjectSwitch(CRContext *from, CRContext *to) 520 { 521 if (to->framebufferobject.framebuffer!=from->framebufferobject.framebuffer) 522 { 523 diff_api.BindFramebufferEXT(GL_FRAMEBUFFER_EXT, to->framebufferobject.framebuffer? 524 to->framebufferobject.framebuffer->id:0); 525 } 526 }
Note:
See TracChangeset
for help on using the changeset viewer.