summaryrefslogtreecommitdiffstats
path: root/make/config
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-19 05:13:20 +0100
committerSven Gothel <[email protected]>2010-03-19 05:13:20 +0100
commit3f72f644aa7fd5e5756aea56c8d35d0acbe6ee6c (patch)
tree3f2b51224d19d3ff602d6387c3b86cb8565580bd /make/config
parent760d1d63e8a04a6c636863e5668f45bd71e80d70 (diff)
Drop PointerBuffer.wrapNative2Java(..)
in favor of a simple PointerBuffer.wrap(..), due to the new semantics, ie internal integer/long presentation. Fixed the javame code in this regard.
Diffstat (limited to 'make/config')
-rw-r--r--make/config/jogl/glx-CustomJavaCode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/config/jogl/glx-CustomJavaCode.java b/make/config/jogl/glx-CustomJavaCode.java
index 25a6156b7..3cb1d3619 100644
--- a/make/config/jogl/glx-CustomJavaCode.java
+++ b/make/config/jogl/glx-CustomJavaCode.java
@@ -23,7 +23,7 @@
_res = glXChooseFBConfigCopied1(dpy, screen, attribList, BufferFactory.SIZEOF_INT * attribList_offset, nitems, BufferFactory.SIZEOF_INT * nitems_offset);
if (_res == null) return null;
- return PointerBuffer.wrapNative2Java(_res, false);
+ return PointerBuffer.wrap(_res);
}
/** Entry point to C language function: - Alias for: <br> <code> GLXFBConfig * glXChooseFBConfigSGIX, glXChooseFBConfig(Display * dpy, int screen, const int * attribList, int * nitems); </code> */