summaryrefslogtreecommitdiffstats
path: root/src/native
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2003-08-07 22:59:28 +0000
committerKenneth Russel <[email protected]>2003-08-07 22:59:28 +0000
commitc26d94809629a6c65d1bda01799e9356bd2386e6 (patch)
tree01c5baa7d4d104d3ca395f2db98b9480a0158baf /src/native
parentdb0bdc71eec40d7fcd22ddcea87178c8805d4312 (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')
-rw-r--r--src/native/jogl/BufferUtils.c2
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);
}