aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/demos/julia3d
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mbien/opencl/demos/julia3d')
-rw-r--r--src/com/mbien/opencl/demos/julia3d/structs/Camera.java2
-rw-r--r--src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java2
-rw-r--r--src/com/mbien/opencl/demos/julia3d/structs/Vec.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/com/mbien/opencl/demos/julia3d/structs/Camera.java b/src/com/mbien/opencl/demos/julia3d/structs/Camera.java
index 2263a2c..a160986 100644
--- a/src/com/mbien/opencl/demos/julia3d/structs/Camera.java
+++ b/src/com/mbien/opencl/demos/julia3d/structs/Camera.java
@@ -21,7 +21,7 @@ public abstract class Camera {
}
public static Camera create() {
- return create(BufferFactory.newDirectByteBuffer(size()));
+ return create(Buffers.newDirectByteBuffer(size()));
}
public static Camera create(java.nio.ByteBuffer buf) {
diff --git a/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java b/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
index d488dce..0f29bc7 100644
--- a/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
+++ b/src/com/mbien/opencl/demos/julia3d/structs/RenderingConfig.java
@@ -21,7 +21,7 @@ public abstract class RenderingConfig {
}
public static RenderingConfig create() {
- return create(BufferFactory.newDirectByteBuffer(size()));
+ return create(Buffers.newDirectByteBuffer(size()));
}
public static RenderingConfig create(java.nio.ByteBuffer buf) {
diff --git a/src/com/mbien/opencl/demos/julia3d/structs/Vec.java b/src/com/mbien/opencl/demos/julia3d/structs/Vec.java
index be2efc7..89a79dd 100644
--- a/src/com/mbien/opencl/demos/julia3d/structs/Vec.java
+++ b/src/com/mbien/opencl/demos/julia3d/structs/Vec.java
@@ -21,7 +21,7 @@ public abstract class Vec {
}
public static Vec create() {
- return create(BufferFactory.newDirectByteBuffer(size()));
+ return create(Buffers.newDirectByteBuffer(size()));
}
public static Vec create(java.nio.ByteBuffer buf) {