diff options
4 files changed, 4 insertions, 4 deletions
diff --git a/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java b/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java index f47cd6f..c7fd23d 100644 --- a/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java +++ b/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java @@ -38,7 +38,7 @@ import javax.media.opengl.awt.GLCanvas; import javax.swing.JFrame; import javax.swing.SwingUtilities; -import static com.jogamp.gluegen.runtime.BufferFactory.*; +import static com.jogamp.gluegen.runtime.Buffers.*; import static javax.media.opengl.GL2.*; import static com.mbien.opencl.CLMemory.Mem.*; import static com.mbien.opencl.CLEvent.ProfilingCommand.*; 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) { |