diff options
Diffstat (limited to 'make/config/jogl/glx-x11.cfg')
-rw-r--r-- | make/config/jogl/glx-x11.cfg | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/make/config/jogl/glx-x11.cfg b/make/config/jogl/glx-x11.cfg index 4daa78b84..6a5bdc484 100644 --- a/make/config/jogl/glx-x11.cfg +++ b/make/config/jogl/glx-x11.cfg @@ -13,10 +13,13 @@ Include gl-desktop.cfg GLHeader GL/glx.h GLHeader GL/glxext.h +# Only NIO direct function, no arrays .. +NIOOnly __ALL__ +NIODirectOnly __ALL__ + ForceProcAddressGen __ALL__ LocalProcAddressCallingConvention __ALL__ APIENTRY -AllowNonGLExtensions true EmitProcAddressTable true ProcAddressTableClassName GLXProcAddressTable GetProcAddressTableExpr glxProcAddressTable @@ -29,6 +32,7 @@ CustomJavaCode GLX public static GLXProcAddressTable getGLXProcAddressTable() { IncludeAs CustomJavaCode GLX glx-CustomJavaCode.java IncludeAs CustomCCode glx-CustomCCode.c +ForceStaticInitCode GLX ArgumentIsString XOpenDisplay 0 @@ -41,9 +45,11 @@ Ignore glXCreateContextAttribsARB Ignore glXGetVisualFromFBConfigSGIX ManuallyImplement glXGetVisualFromFBConfig ManuallyImplement glXChooseFBConfig +ManuallyImplement glXGetFBConfigs ManuallyImplement glXChooseVisual ForceProcAddressGen glXGetVisualFromFBConfig ForceProcAddressGen glXChooseFBConfig +ForceProcAddressGen glXGetFBConfigs ForceProcAddressGen glXChooseVisual # Ignore everything not in the GLX core (up through GLX 1.4) @@ -95,6 +101,6 @@ CustomJavaCode GLX { CustomJavaCode GLX if (glXGetProcAddressHandle == 0) { CustomJavaCode GLX throw new GLException("Passed null pointer for method \"glXGetProcAddress\""); CustomJavaCode GLX } -CustomJavaCode GLX return dispatch_glXGetProcAddress1(procname, glXGetProcAddressHandle); +CustomJavaCode GLX return dispatch_glXGetProcAddress0(procname, glXGetProcAddressHandle); CustomJavaCode GLX } |