aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/glx-CustomJavaCode.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-29 04:51:18 +0200
committerSven Gothel <[email protected]>2010-03-29 04:51:18 +0200
commitb3f2ab84401efef233c0038f004a9f210cbe83fc (patch)
tree6741a098981c0742e148ce5587aff35d0a776250 /make/config/jogl/glx-CustomJavaCode.java
parent49b145b3fb10b2dd070615c60613d69ca44d4548 (diff)
parent2d57c25287542dcbad59c6b4782e87f86bd0fbc6 (diff)
Merge branch 'master' of github.com:mbien/jogl
Diffstat (limited to 'make/config/jogl/glx-CustomJavaCode.java')
-rw-r--r--make/config/jogl/glx-CustomJavaCode.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/config/jogl/glx-CustomJavaCode.java b/make/config/jogl/glx-CustomJavaCode.java
index 56057377a..6ed31990e 100644
--- a/make/config/jogl/glx-CustomJavaCode.java
+++ b/make/config/jogl/glx-CustomJavaCode.java
@@ -20,7 +20,7 @@
if(nitems != null && nitems.length <= nitems_offset)
throw new GLException("array offset argument \"nitems_offset\" (" + nitems_offset + ") equals or exceeds array length (" + nitems.length + ")");
java.nio.ByteBuffer _res;
- _res = glXChooseFBConfigCopied1(dpy, screen, attribList, BufferFactory.SIZEOF_INT * attribList_offset, nitems, BufferFactory.SIZEOF_INT * nitems_offset);
+ _res = glXChooseFBConfigCopied1(dpy, screen, attribList, Buffers.SIZEOF_INT * attribList_offset, nitems, Buffers.SIZEOF_INT * nitems_offset);
if (_res == null) return null;
return PointerBuffer.wrap(_res);
@@ -35,7 +35,7 @@
if(attribList != null && attribList.length <= attribList_offset)
throw new GLException("array offset argument \"attribList_offset\" (" + attribList_offset + ") equals or exceeds array length (" + attribList.length + ")");
java.nio.ByteBuffer _res;
- _res = glXChooseVisualCopied1(dpy, screen, attribList, BufferFactory.SIZEOF_INT * attribList_offset);
+ _res = glXChooseVisualCopied1(dpy, screen, attribList, Buffers.SIZEOF_INT * attribList_offset);
if (_res == null) return null;
return XVisualInfo.create(_res);