From 37e1406a2d71a5dec893e39beec82ead2f80b787 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 22 Apr 2008 00:29:15 +0000 Subject: Fixed build breakage on X11 platforms after fixing of GlueGen Issue 6 and removal of Import of java.nio.* git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1607 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/glx-x11.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/glx-x11.cfg') 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) -- cgit v1.2.3