Changeset 22417 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 24, 2009 2:44:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/icd_drv.c
r20398 r22417 79 79 void APIENTRY DrvReleaseContext(HGLRC hglrc) 80 80 { 81 /*crDebug( "DrvReleaseContext( %x) called", hglrc );*/81 /*crDebug( "DrvReleaseContext(0x%x) called", hglrc );*/ 82 82 stubMakeCurrent( NULL, NULL ); 83 83 } … … 101 101 WindowInfo *window; 102 102 103 /*crDebug( "DrvSetContext called( %x,%x)", hdc, hglrc );*/103 /*crDebug( "DrvSetContext called(0x%x, 0x%x)", hdc, hglrc );*/ 104 104 (void) (callback); 105 105 … … 117 117 BOOL APIENTRY DrvSetPixelFormat(HDC hdc, int iPixelFormat) 118 118 { 119 crDebug( "DrvSetPixelFormat called.\n");119 crDebug( "DrvSetPixelFormat(0x%x, %i) called.", hdc, iPixelFormat ); 120 120 121 121 if ( (iPixelFormat<1) || (iPixelFormat>2) ) { 122 crError( "wglSetPixelFormat: iPixelFormat=%d? \n", iPixelFormat );122 crError( "wglSetPixelFormat: iPixelFormat=%d?", iPixelFormat ); 123 123 } 124 124 … … 131 131 ContextInfo *context; 132 132 133 crDebug( "DrvCreateContext called.\n");133 crDebug( "DrvCreateContext(0x%x) called.", hdc); 134 134 135 135 stubInit(); … … 150 150 HGLRC APIENTRY DrvCreateLayerContext(HDC hdc, int iLayerPlane) 151 151 { 152 crDebug( "DrvCreateLayerContext(0x%x, %i) called.", hdc, iLayerPlane); 152 153 //We don't support more than 1 layers. 153 154 if (iLayerPlane == 0) { … … 185 186 186 187 if ( nBytes != sizeof(*pfd) ) { 187 crWarning( "DrvDescribePixelFormat: nBytes=%u? \n", nBytes );188 crWarning( "DrvDescribePixelFormat: nBytes=%u?", nBytes ); 188 189 return 2; 189 190 } … … 260 261 BOOL APIENTRY DrvDeleteContext(HGLRC hglrc) 261 262 { 263 crDebug( "DrvDeleteContext(0x%x) called", hglrc ); 262 264 stubDestroyContext( (unsigned long) hglrc ); 263 265 return 1; … … 273 275 { 274 276 crWarning( "DrvShareLists: unsupported" ); 275 return 0;277 return 1; 276 278 } 277 279 … … 309 311 { 310 312 const WindowInfo *window; 311 / /crDebug( "DrvSwapBuffers(%x) called", hdc );313 /*crDebug( "DrvSwapBuffers(0x%x) called", hdc );*/ 312 314 window = stubGetWindowInfo(hdc); 313 315 stubSwapBuffers( window, 0 );
Note:
See TracChangeset
for help on using the changeset viewer.