aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/x11/glxext.c
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/x11/glxext.c')
-rw-r--r--make/stub_includes/x11/glxext.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/make/stub_includes/x11/glxext.c b/make/stub_includes/x11/glxext.c
index e781b6e88..35ed63b5b 100644
--- a/make/stub_includes/x11/glxext.c
+++ b/make/stub_includes/x11/glxext.c
@@ -4,14 +4,21 @@
#define _Xconst const
#endif /* _Xconst */
+#include <GL/gl-platform.h>
+
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+
// Define GL_GLEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in
// "glx.h" are parsed.
-#define GL_GLEXT_PROTOTYPES
+// #define GL_GLEXT_PROTOTYPES
+// #include <GL/gl.h>
+// #include <GL/glext-supplement.h>
+// #include <GL/glext.h>
+#include <gl-types.h>
// Define GLX_GLXEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in
// "glxext.h" are parsed.
#define GLX_GLXEXT_PROTOTYPES
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
#include <GL/glx.h>
-// GL/glxext.h included by GL/glx.h
+#include <GL/glxext.h>