Changeset 3427 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Jul 4, 2007 4:55:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/OGLComplexSync.cpp
r3419 r3427 122 122 { 123 123 /* if ppfd == NULL, then DrvDescribelayerPlane returns the maximum nr of supported pixel formats */ 124 VBOX_OGL_GEN_SYNC_OP4_PASS_PTR_RET(int, DrvDescribePixelFormat, hdc, iPixelFormat, nBytes, nBytes, ppfd); 125 return retval; 124 if (ppfd) 125 { 126 VBOX_OGL_GEN_SYNC_OP4_PASS_PTR_RET(int, DrvDescribePixelFormat, hdc, iPixelFormat, nBytes, nBytes, ppfd); 127 return retval; 128 } 129 else 130 { 131 VBOX_OGL_GEN_SYNC_OP4_RET(int, DrvDescribePixelFormat, hdc, iPixelFormat, nBytes, ppfd); 132 return retval; 133 } 126 134 } 127 135
Note:
See TracChangeset
for help on using the changeset viewer.