From ca2ccb29bd3cd4d9c73ca96ce02402888ac9e9af Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Sun, 28 Mar 2010 19:26:16 +0200
Subject: Merge CPU to Platform

---
 src/java/com/jogamp/gluegen/runtime/PointerBufferSE.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/java/com/jogamp/gluegen/runtime/PointerBufferSE.java')

diff --git a/src/java/com/jogamp/gluegen/runtime/PointerBufferSE.java b/src/java/com/jogamp/gluegen/runtime/PointerBufferSE.java
index 9c67dda..6f131a9 100755
--- a/src/java/com/jogamp/gluegen/runtime/PointerBufferSE.java
+++ b/src/java/com/jogamp/gluegen/runtime/PointerBufferSE.java
@@ -48,7 +48,7 @@ final class PointerBufferSE extends PointerBuffer {
     PointerBufferSE(ByteBuffer bb) {
         super(bb);
 
-        if (CPU.is32Bit()) {
+        if (Platform.is32Bit()) {
             this.pb = bb.asIntBuffer();
         } else {
             this.pb = bb.asLongBuffer();
@@ -64,7 +64,7 @@ final class PointerBufferSE extends PointerBuffer {
         if (0 > idx || idx >= capacity) {
             throw new IndexOutOfBoundsException();
         }
-        if (CPU.is32Bit()) {
+        if (Platform.is32Bit()) {
             return ((IntBuffer) pb).get(idx);
         } else {
             return ((LongBuffer) pb).get(idx);
@@ -76,7 +76,7 @@ final class PointerBufferSE extends PointerBuffer {
             throw new IndexOutOfBoundsException();
         }
         backup[idx] = v;
-        if (CPU.is32Bit()) {
+        if (Platform.is32Bit()) {
             ((IntBuffer) pb).put(idx, (int) v);
         } else {
             ((LongBuffer) pb).put(idx, v);
-- 
cgit v1.2.3