Changeset 21785 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- Jul 24, 2009 12:16:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_agl.c
r18830 r21785 187 187 GLboolean result = render_spu.ws.aglSetCurrentContext(tmpContext); 188 188 CHECK_AGL_RC (result, "Render SPU (windowEvtHndlr): SetCurrentContext Failed"); 189 if (result) 190 { 191 result = render_spu.ws.aglUpdateContext(tmpContext); 192 CHECK_AGL_RC (result, "Render SPU (windowEvtHndlr): UpdateContext Failed"); 193 } 189 /* Doesn't work with DirectX; Anyway doesn't */ 190 /* if (result)*/ 191 /* {*/ 192 /* result = render_spu.ws.aglUpdateContext(tmpContext);*/ 193 /* CHECK_AGL_RC (result, "Render SPU (windowEvtHndlr): UpdateContext Failed");*/ 194 /* }*/ 194 195 RTSemFastMutexRelease(render_spu.syncMutex); 195 196 }
Note:
See TracChangeset
for help on using the changeset viewer.