diff options
author | Michael Bien <[email protected]> | 2010-04-24 20:14:35 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-24 20:14:35 +0200 |
commit | 7674ff2b486ee8d0ad6a7457431024b58a1b927a (patch) | |
tree | 61a32b53fa43f9d95dcd2158834ab4691c369be0 /src/com/jogamp/opencl/CLPlatform.java | |
parent | 7543640d906f7ae2339faa40d0fc019c7a787593 (diff) |
modification due to method renaming in gluegen/ProcAddressTable.
Diffstat (limited to 'src/com/jogamp/opencl/CLPlatform.java')
-rw-r--r-- | src/com/jogamp/opencl/CLPlatform.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/CLPlatform.java b/src/com/jogamp/opencl/CLPlatform.java index 88755aa2..8f110779 100644 --- a/src/com/jogamp/opencl/CLPlatform.java +++ b/src/com/jogamp/opencl/CLPlatform.java @@ -7,7 +7,6 @@ import com.jogamp.common.nio.PointerBuffer; import com.jogamp.opencl.util.CLUtil; import com.jogamp.opencl.impl.CLImpl; import com.jogamp.opencl.impl.CLProcAddressTable; -import com.jogamp.gluegen.runtime.ProcAddressHelper; import java.nio.ByteBuffer; import java.nio.ByteOrder; @@ -43,7 +42,7 @@ public final class CLPlatform { NativeLibrary lib = JOCLJNILibLoader.loadJOCL(); CLProcAddressTable table = new CLProcAddressTable(); - ProcAddressHelper.resetProcAddressTable(table, lib); + table.reset(lib); cl = new CLImpl(table); }catch(Exception ex) { |