Changeset 22832 in vbox
- Timestamp:
- Sep 8, 2009 11:29:55 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_bufferobject.c
r22831 r22832 56 56 if (pObj->data) crFree(pObj->data); 57 57 58 if (diff_api.AlphaFunc) 58 #ifndef IN_GUEST 59 if (diff_api.DeleteBuffersARB) 59 60 { 60 61 diff_api.DeleteBuffersARB(1, &pObj->name); 61 62 } 63 #endif 62 64 63 65 crFree(pObj); -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_framebuffer.c
r22831 r22832 48 48 CRFramebufferObject *pObj = (CRFramebufferObject *)data; 49 49 50 if (diff_api.AlphaFunc) 50 #ifndef IN_GUEST 51 if (diff_api.DeleteFramebuffersEXT) 51 52 { 52 53 diff_api.DeleteFramebuffersEXT(1, &pObj->id); 53 54 } 55 #endif 54 56 55 57 crFree(pObj); … … 60 62 CRRenderbufferObject *pObj = (CRRenderbufferObject *)data; 61 63 62 if (diff_api.AlphaFunc) 64 #ifndef IN_GUEST 65 if (diff_api.DeleteRenderbuffersEXT) 63 66 { 64 67 diff_api.DeleteRenderbuffersEXT(1, &pObj->id); 65 68 } 69 #endif 66 70 67 71 crFree(pObj);
Note:
See TracChangeset
for help on using the changeset viewer.