aboutsummaryrefslogtreecommitdiffstats
path: root/make/glxext.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/glxext.cfg')
-rwxr-xr-xmake/glxext.cfg18
1 files changed, 2 insertions, 16 deletions
diff --git a/make/glxext.cfg b/make/glxext.cfg
index 6dd9e5c19..1c93a063c 100755
--- a/make/glxext.cfg
+++ b/make/glxext.cfg
@@ -20,22 +20,8 @@ Import com.sun.opengl.impl.x11.*
# Ignore everything that doesn't start with glX or GLX
IgnoreNot ^(glX|GLX).+
-CustomCCode #include <inttypes.h>
-CustomCCode #include <stdlib.h>
-CustomCCode #include <X11/Xlib.h>
-
-CustomCCode /* Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in
-CustomCCode "glext.h" are parsed. */
-CustomCCode #define GL_GLEXT_PROTOTYPES
-
-CustomCCode /* Define GLX_GLXEXT_PROTOTYPES so that the OpenGL extension prototypes in
-CustomCCode "glxext.h" are parsed. */
-CustomCCode #define GLX_GLXEXT_PROTOTYPES
-
-CustomCCode /* Include the OpenGL headers */
-CustomCCode #include <GL/gl.h>
-CustomCCode #include <GL/glx.h>
-CustomCCode #include <GL/glxext.h>
+Include gl-headers.cfg
+Include intptr.cfg
CustomCCode /* Provide Windows typedefs */
CustomCCode typedef void* LPVOID;