summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/glx-x11.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/glx-x11.cfg b/make/glx-x11.cfg
index 93ff2d02f..d4b3301ec 100644
--- a/make/glx-x11.cfg
+++ b/make/glx-x11.cfg
@@ -30,7 +30,7 @@ TemporaryCVariableAssignment XGetVisualInfo count = _ptr3[0];
ReturnValueCapacity XGetVisualInfo count * sizeof(XVisualInfo)
# Helper routine to make the ReturnedArrayLength expression below work correctly
-CustomJavaCode GLX private static int getFirstElement(IntBuffer buf) { return buf.get(buf.position()); }
+CustomJavaCode GLX private static int getFirstElement(java.nio.IntBuffer buf){ return buf.get(buf.position()); }
CustomJavaCode GLX private static int getFirstElement(int[] arr, int offset) { return arr[offset]; }
ReturnedArrayLength XGetVisualInfo getFirstElement({3})
ReturnValueCapacity glXChooseVisual sizeof(XVisualInfo)