diff options
Diffstat (limited to 'make/glx-x11.cfg')
-rw-r--r-- | make/glx-x11.cfg | 2 |
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) |