diff options
Diffstat (limited to 'make/config/jogl/glxext.cfg')
-rw-r--r-- | make/config/jogl/glxext.cfg | 12 |
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); |