diff options
author | Sven Gothel <[email protected]> | 2010-03-29 04:51:49 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-03-29 04:51:49 +0200 |
commit | 69fe372b874d913e2d1c27f1d103e1fced668ecf (patch) | |
tree | cf402337903ba3d02bbab628f2f82a23908a5f11 /src/java/com/jogamp/gluegen/runtime/PointerBuffer.java | |
parent | 2138fc787c1e497be7f373aa68b3f751c955008f (diff) | |
parent | 2d76c16b9384d383d3e6a9d7cb727f2591a39228 (diff) |
Resolved conflicts
Diffstat (limited to 'src/java/com/jogamp/gluegen/runtime/PointerBuffer.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/runtime/PointerBuffer.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/com/jogamp/gluegen/runtime/PointerBuffer.java b/src/java/com/jogamp/gluegen/runtime/PointerBuffer.java index 8e30ed8..a89dace 100644 --- a/src/java/com/jogamp/gluegen/runtime/PointerBuffer.java +++ b/src/java/com/jogamp/gluegen/runtime/PointerBuffer.java @@ -62,9 +62,9 @@ public abstract class PointerBuffer { public static PointerBuffer allocateDirect(int size) { if (Platform.isJavaSE()) { - return new PointerBufferSE(BufferFactory.newDirectByteBuffer(elementSize() * size)); + return new PointerBufferSE(Buffers.newDirectByteBuffer(elementSize() * size)); } else { - return new PointerBufferME_CDC_FP(BufferFactory.newDirectByteBuffer(elementSize() * size)); + return new PointerBufferME_CDC_FP(Buffers.newDirectByteBuffer(elementSize() * size)); } } @@ -91,7 +91,7 @@ public abstract class PointerBuffer { } public static int elementSize() { - return Platform.is32Bit() ? BufferFactory.SIZEOF_INT : BufferFactory.SIZEOF_LONG; + return Platform.is32Bit() ? Buffers.SIZEOF_INT : Buffers.SIZEOF_LONG; } public int limit() { |