aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/win32
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/win32')
-rw-r--r--make/stub_includes/win32/wglext.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/make/stub_includes/win32/wglext.c b/make/stub_includes/win32/wglext.c
index 60c1f74ac..5a3e759e5 100644
--- a/make/stub_includes/win32/wglext.c
+++ b/make/stub_includes/win32/wglext.c
@@ -1,14 +1,18 @@
#define GLAPI
-// Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in
-// "glext.h" are parsed.
-#define GL_GLEXT_PROTOTYPES
+#include <GL/gl-platform.h>
+
+// Define GL_GLEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in
+// "glx.h" are parsed.
+// #define GL_GLEXT_PROTOTYPES
+// #include <GL/gl.h>
+// #include <GL/glext-supplement.h>
+// #include <GL/glext.h>
+#include <gl-types.h>
-#include <GL/gl.h>
// Bring in the wgl extensions
#define WGL_WGLEXT_PROTOTYPES
-#define SKIP_WGL_HANDLE_DEFINITIONS
#include <windows.h>
#include <wingdi_types.h>
#include <GL/wglext.h>