Changeset 3468 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Jul 5, 2007 2:18:32 PM (18 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/OpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/VBoxOGL.h
r3462 r3468 26 26 #define WINGDIAPI 27 27 #include "GL/gl.h" 28 #define WGL_WGLEXT_PROTOTYPES 29 #include <VBox/HostServices/wglext.h> 28 30 29 31 #include <iprt/cdefs.h> -
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/glext.cpp
r3464 r3468 24 24 */ 25 25 26 #define VBOX_OGL_WITH_EXTENSION_ARRAY 26 27 #include "VBoxOGL.h" 27 #define WGL_WGLEXT_PROTOTYPES28 #include <VBox/HostServices/wglext.h>29 30 typedef struct31 {32 const char *pszExtName;33 const char *pszExtFunctionName;34 RTUINTPTR pfnFunction;35 bool fAvailable;36 } OPENGL_EXT, *POPENGL_EXT;37 38 static OPENGL_EXT OpenGLExtensions[] =39 {40 { "WGL_EXT_swap_control", "wglSwapIntervalEXT", (RTUINTPTR)wglSwapIntervalEXT, false },41 { "WGL_EXT_swap_control", "wglGetSwapIntervalEXT", (RTUINTPTR)wglGetSwapIntervalEXT, false },42 };43 28 44 29 … … 63 48 PROC APIENTRY DrvGetProcAddress(LPCSTR lpszProc) 64 49 { 65 PROC pfnProc ;50 PROC pfnProc = NULL; 66 51 67 52 for (int i=0;i<RT_ELEMENTS(OpenGLExtensions);i++)
Note:
See TracChangeset
for help on using the changeset viewer.