diff options
author | Kenneth Russel <[email protected]> | 2008-04-22 00:29:15 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-04-22 00:29:15 +0000 |
commit | 37e1406a2d71a5dec893e39beec82ead2f80b787 (patch) | |
tree | f0e139991fdf618de0bd87df27ff50133c466222 | |
parent | 4d6e09d82f69d2d3cd5d3fee50b02af986904344 (diff) |
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
-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) |