aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen/runtime/Int64Buffer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/gluegen/runtime/Int64Buffer.java')
-rw-r--r--src/java/com/jogamp/gluegen/runtime/Int64Buffer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/com/jogamp/gluegen/runtime/Int64Buffer.java b/src/java/com/jogamp/gluegen/runtime/Int64Buffer.java
index ad218bc..5f7cc33 100644
--- a/src/java/com/jogamp/gluegen/runtime/Int64Buffer.java
+++ b/src/java/com/jogamp/gluegen/runtime/Int64Buffer.java
@@ -58,9 +58,9 @@ public abstract class Int64Buffer {
public static Int64Buffer allocateDirect(int size) {
if (Platform.isJavaSE()) {
- return new Int64BufferSE(BufferFactory.newDirectByteBuffer(elementSize() * size));
+ return new Int64BufferSE(Buffers.newDirectByteBuffer(elementSize() * size));
} else {
- return new Int64BufferME_CDC_FP(BufferFactory.newDirectByteBuffer(elementSize() * size));
+ return new Int64BufferME_CDC_FP(Buffers.newDirectByteBuffer(elementSize() * size));
}
}
@@ -87,7 +87,7 @@ public abstract class Int64Buffer {
}
public static int elementSize() {
- return BufferFactory.SIZEOF_LONG;
+ return Buffers.SIZEOF_LONG;
}
public int limit() {