diff options
author | Kenneth Russel <[email protected]> | 2003-08-07 22:59:28 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2003-08-07 22:59:28 +0000 |
commit | c26d94809629a6c65d1bda01799e9356bd2386e6 (patch) | |
tree | 01c5baa7d4d104d3ca395f2db98b9480a0158baf /src/native/jogl | |
parent | db0bdc71eec40d7fcd22ddcea87178c8805d4312 (diff) |
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
Diffstat (limited to 'src/native/jogl')
-rw-r--r-- | src/native/jogl/BufferUtils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |