Changeset 3516 in vbox
- Timestamp:
- Jul 9, 2007 4:31:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/glext.cpp
r3515 r3516 41 41 int rc; 42 42 43 if (fInitialized) 44 return VINF_SUCCESS; 45 43 46 memset(&parms, 0, sizeof(parms)); 44 47 VBOX_INIT_CALL(&parms.hdr, GLGETSTRING, pCtx); … … 56 59 { 57 60 DbgPrintf(("GL_EXTENSIONS failed with %x %x\n", rc, parms.hdr.result)); 58 return FALSE;61 return (rc == VINF_SUCCESS) ? parms.hdr.result : rc; 59 62 } 60 63 DbgPrintf(("GL_EXTENSIONS=%s\n\n", szOpenGLExtensions)); 61 62 if (fInitialized)63 return VINF_SUCCESS;64 64 65 65 pszExtensions = strdup(szOpenGLExtensions);
Note:
See TracChangeset
for help on using the changeset viewer.