From c26d94809629a6c65d1bda01799e9356bd2386e6 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 7 Aug 2003 22:59:28 +0000 Subject: Fixed bug abies pointed out in ARBVBOKey where it was necessary to override hashCode() and therefore equals(). Added caching of BufferUtils.bufferOffset() buffers. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@48 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/native/jogl/BufferUtils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/native/jogl/BufferUtils.c') diff --git a/src/native/jogl/BufferUtils.c b/src/native/jogl/BufferUtils.c index f10a8ce6d..d5ea5b36e 100644 --- a/src/native/jogl/BufferUtils.c +++ b/src/native/jogl/BufferUtils.c @@ -49,6 +49,6 @@ #endif JNIEXPORT jobject JNICALL -Java_net_java_games_jogl_util_BufferUtils_bufferOffset(JNIEnv* env, jclass unused, jint offset) { +Java_net_java_games_jogl_util_BufferUtils_bufferOffset0(JNIEnv* env, jclass unused, jint offset) { return (*env)->NewDirectByteBuffer(env, (void*) (intptr_t) offset, 0); } -- cgit v1.2.3