aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/egl.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-30 16:54:55 +0100
committerSven Gothel <[email protected]>2012-10-30 16:54:55 +0100
commitadea26fedc2fcd99685a73ac3301ccaeadc2fd99 (patch)
tree7e0e4d719fccc477267d2912eba77939de575f1a /make/config/jogl/egl.cfg
parentb961225542227ec30f4b79c4425384e7e161437c (diff)
EGL/EGLExt Robustness: Use NIODirectOnly for all bindings. For these internal APIs, critical array is not required, hence redundant.
Diffstat (limited to 'make/config/jogl/egl.cfg')
-rw-r--r--make/config/jogl/egl.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/make/config/jogl/egl.cfg b/make/config/jogl/egl.cfg
index ee74b46e6..b30985076 100644
--- a/make/config/jogl/egl.cfg
+++ b/make/config/jogl/egl.cfg
@@ -9,6 +9,10 @@ Style AllStatic
# Shouldn't matter which one of these we pick up
Include egl-common.cfg
+# Only NIO direct function, no arrays ..
+NIOOnly __ALL__
+NIODirectOnly __ALL__
+
HierarchicalNativeOutput false
# Use a ProcAddressTable so we dynamically look up the routines
@@ -44,7 +48,7 @@ CustomJavaCode EGL {
CustomJavaCode EGL if (eglGetProcAddressHandle == 0) {
CustomJavaCode EGL throw new GLException("Passed null pointer for method \"eglGetProcAddress\"");
CustomJavaCode EGL }
-CustomJavaCode EGL return dispatch_eglGetProcAddress1(procname, eglGetProcAddressHandle);
+CustomJavaCode EGL return dispatch_eglGetProcAddress0(procname, eglGetProcAddressHandle);
CustomJavaCode EGL }