diff options
author | Michael Bien <[email protected]> | 2010-03-29 04:09:24 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-03-29 04:09:24 +0200 |
commit | 1c0265824a1a86e758abf7f0a0b1d1e43c5ef167 (patch) | |
tree | 369232785f03fd4844ae073ef063dd5a09576173 /src/com/mbien/opencl/CLKernel.java | |
parent | 9dab3d93ffaa04f9cf370648c67219694c58555a (diff) |
changes due to BufferFactory -> Buffers renaming in gluegen.
Diffstat (limited to 'src/com/mbien/opencl/CLKernel.java')
-rw-r--r-- | src/com/mbien/opencl/CLKernel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/CLKernel.java b/src/com/mbien/opencl/CLKernel.java index 0ef2d835..12d1047b 100644 --- a/src/com/mbien/opencl/CLKernel.java +++ b/src/com/mbien/opencl/CLKernel.java @@ -1,7 +1,7 @@ package com.mbien.opencl; import com.mbien.opencl.util.CLUtil; -import com.jogamp.gluegen.runtime.BufferFactory; +import com.jogamp.gluegen.runtime.Buffers; import com.jogamp.gluegen.runtime.CPU; import com.jogamp.gluegen.runtime.PointerBuffer; import java.nio.Buffer; @@ -37,7 +37,7 @@ public class CLKernel extends CLObject implements CLResource, Cloneable { CLKernel(CLProgram program, long id) { super(program.getContext(), id); this.program = program; - this.buffer = BufferFactory.newDirectByteBuffer(8); + this.buffer = Buffers.newDirectByteBuffer(8); PointerBuffer pb = PointerBuffer.allocateDirect(1); |