Changeset 44947 in vbox
- Timestamp:
- Mar 7, 2013 10:05:20 AM (12 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_framebuffer.c
r44529 r44947 912 912 diff_api.GenRenderbuffersEXT(1, &pRBO->hwid); 913 913 914 diff_api.BindRenderbufferEXT(GL_RENDERBUFFER_EXT, pRBO->hwid); 915 diff_api.RenderbufferStorageEXT(GL_RENDERBUFFER_EXT, pRBO->internalformat, pRBO->width, pRBO->height); 914 if (pRBO->width && pRBO->height) 915 { 916 diff_api.BindRenderbufferEXT(GL_RENDERBUFFER_EXT, pRBO->hwid); 917 diff_api.RenderbufferStorageEXT(GL_RENDERBUFFER_EXT, pRBO->internalformat, pRBO->width, pRBO->height); 918 } 916 919 } 917 920 -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texdiff.c
r44289 r44947 604 604 glAble able[2]; 605 605 int u = 0; /* always use texture unit 0 for diff'ing */ 606 GLuint hwid = crStateGetTextureObjHWID(tobj); 607 608 if (!hwid) 609 return; 606 610 607 611 able[0] = diff_api.Disable; … … 620 624 #endif 621 625 622 diff_api.BindTexture(tobj->target, crStateGetTextureObjHWID(tobj));626 diff_api.BindTexture(tobj->target, hwid); 623 627 624 628 if (alwaysDirty || CHECKDIRTY(tobj->paramsBit[u], bitID))
Note:
See TracChangeset
for help on using the changeset viewer.