summaryrefslogtreecommitdiffstats
path: root/make/gl-impl-CustomJavaCode.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-04-19 17:35:54 +0000
committerKenneth Russel <[email protected]>2008-04-19 17:35:54 +0000
commit2a8dc85eff702dcf5273645b3829fe1f4576b571 (patch)
tree114551d38323bba4a9245fb1c3259832fbdce4b7 /make/gl-impl-CustomJavaCode.java
parent63b7a79103b51207c9910b00bbec4670a5570f72 (diff)
Removed Import of java.nio.* and adjusted custom Java code after
fixing of GlueGen Issue 6 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1605 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/gl-impl-CustomJavaCode.java')
-rw-r--r--make/gl-impl-CustomJavaCode.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/gl-impl-CustomJavaCode.java b/make/gl-impl-CustomJavaCode.java
index 85e441069..1669f07bc 100644
--- a/make/gl-impl-CustomJavaCode.java
+++ b/make/gl-impl-CustomJavaCode.java
@@ -319,10 +319,10 @@ public java.nio.ByteBuffer glMapBuffer(int target, int access) {
return null;
}
ARBVBOKey key = new ARBVBOKey(addr, sz);
- ByteBuffer _res = (ByteBuffer) arbVBOCache.get(key);
+ java.nio.ByteBuffer _res = (java.nio.ByteBuffer) arbVBOCache.get(key);
if (_res == null) {
_res = InternalBufferUtils.newDirectByteBuffer(addr, sz);
- _res.order(ByteOrder.nativeOrder());
+ _res.order(java.nio.ByteOrder.nativeOrder());
arbVBOCache.put(key, _res);
}
_res.position(0);
@@ -344,10 +344,10 @@ public java.nio.ByteBuffer glMapBufferARB(int target, int access) {
return null;
}
ARBVBOKey key = new ARBVBOKey(addr, sz);
- ByteBuffer _res = (ByteBuffer) arbVBOCache.get(key);
+ java.nio.ByteBuffer _res = (java.nio.ByteBuffer) arbVBOCache.get(key);
if (_res == null) {
_res = InternalBufferUtils.newDirectByteBuffer(addr, sz);
- _res.order(ByteOrder.nativeOrder());
+ _res.order(java.nio.ByteOrder.nativeOrder());
arbVBOCache.put(key, _res);
}
_res.position(0);