Changeset 32527 in vbox
- Timestamp:
- Sep 15, 2010 3:14:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/wgl.c
r32526 r32527 167 167 window = stubGetWindowInfo(hdc); 168 168 169 if (hglrc!=0 && !context) 170 { 171 crWarning("wglMakeCurrent got unexpected hglrc 0x%x", hglrc); 172 } 173 169 174 return stubMakeCurrent( window, context ); 170 175 } … … 172 177 HGLRC WINAPI wglGetCurrentContext_prox( void ) 173 178 { 174 return (HGLRC) stub.currentContext ? stub.currentContext->id : 0;179 return (HGLRC) (stub.currentContext ? stub.currentContext->id : 0); 175 180 } 176 181
Note:
See TracChangeset
for help on using the changeset viewer.