From 7674ff2b486ee8d0ad6a7457431024b58a1b927a Mon Sep 17 00:00:00 2001
From: Michael Bien <mbien@fh-landshut.de>
Date: Sat, 24 Apr 2010 20:14:35 +0200
Subject: modification due to method renaming in gluegen/ProcAddressTable.

---
 src/com/jogamp/opencl/CLPlatform.java | 3 +--
 1 file changed, 1 insertion(+), 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) {
-- 
cgit v1.2.3