aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/glx-x11.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-30 17:04:42 +0100
committerSven Gothel <[email protected]>2012-10-30 17:04:42 +0100
commit5deb97e50abf0c19dc37aa69add1dfa2447825ad (patch)
tree6eacdf16cfdabeae53ebf358c95eab9929c68d80 /make/config/jogl/glx-x11.cfg
parentadea26fedc2fcd99685a73ac3301ccaeadc2fd99 (diff)
GLX/GLXExt Robustness: Use NIODirectOnly for all bindings. For these internal APIs, critical array is not required, hence redundant.
Diffstat (limited to 'make/config/jogl/glx-x11.cfg')
-rw-r--r--make/config/jogl/glx-x11.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/make/config/jogl/glx-x11.cfg b/make/config/jogl/glx-x11.cfg
index 4daa78b84..017b1e00b 100644
--- a/make/config/jogl/glx-x11.cfg
+++ b/make/config/jogl/glx-x11.cfg
@@ -13,6 +13,10 @@ 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
@@ -95,6 +99,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 }