From 3f72f644aa7fd5e5756aea56c8d35d0acbe6ee6c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 19 Mar 2010 05:13:20 +0100 Subject: 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. --- make/config/jogl/glx-CustomJavaCode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/config/jogl') 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:
GLXFBConfig * glXChooseFBConfigSGIX, glXChooseFBConfig(Display * dpy, int screen, const int * attribList, int * nitems); */ -- cgit v1.2.3