aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/glxext.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-06 09:45:48 +0100
committerSven Gothel <[email protected]>2015-03-06 09:45:48 +0100
commit0d59bd4c655ef9a27f127000848aae7f07f240ae (patch)
tree3ac18e10e105ad70227bbb2205294ac3e6462c0e /make/config/jogl/glxext.cfg
parent0674a3678d747335ad36f0f57e3bdc9c168f0dcf (diff)
Bug 1135 - Change all GlueGen config files, supporting EGL 1.5 , ES 3.1 and GL 4.5
Diffstat (limited to 'make/config/jogl/glxext.cfg')
-rw-r--r--make/config/jogl/glxext.cfg12
1 files changed, 4 insertions, 8 deletions
diff --git a/make/config/jogl/glxext.cfg b/make/config/jogl/glxext.cfg
index d158d241f..7f3defe15 100644
--- a/make/config/jogl/glxext.cfg
+++ b/make/config/jogl/glxext.cfg
@@ -3,6 +3,9 @@
JavaOutputDir gensrc/classes
NativeOutputDir gensrc/native/jogl/X11
+GLSemHeader GL/glx.h
+GLSemHeader GL/glxext.h
+
Package jogamp.opengl.x11.glx
Style InterfaceAndImpl
JavaClass GLXExt
@@ -17,9 +20,6 @@ Include gl-desktop.cfg
NIOOnly __ALL__
NIODirectOnly __ALL__
-GLHeader GL/glx.h
-GLHeader GL/glxext.h
-
EmitProcAddressTable true
ProcAddressTableClassName GLXExtProcAddressTable
GetProcAddressTableExpr _context.getGLXExtProcAddressTable()
@@ -29,11 +29,7 @@ Import jogamp.nativewindow.x11.*
# Ignore everything that doesn't start with glX or GLX
IgnoreNot ^(glX|GLX).+
-Include gl-headers.cfg
-
-CustomCCode /* Provide Windows typedefs */
-CustomCCode typedef void* LPVOID;
-CustomCCode typedef unsigned int* PUINT;
+Include glx-headers.cfg
CustomJavaCode GLXExt public boolean isFunctionAvailable(String glFunctionName);
CustomJavaCode GLXExt public boolean isExtensionAvailable(String glExtensionName);