summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-04-24 20:14:35 +0200
committerMichael Bien <[email protected]>2010-04-24 20:14:35 +0200
commit7674ff2b486ee8d0ad6a7457431024b58a1b927a (patch)
tree61a32b53fa43f9d95dcd2158834ab4691c369be0 /src
parent7543640d906f7ae2339faa40d0fc019c7a787593 (diff)
modification due to method renaming in gluegen/ProcAddressTable.
Diffstat (limited to 'src')
-rw-r--r--src/com/jogamp/opencl/CLPlatform.java3
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) {