aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-impl-CustomJavaCode.java
diff options
context:
space:
mode:
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);