summaryrefslogtreecommitdiffstats
path: root/resources/clImplCustomCode.java
diff options
context:
space:
mode:
Diffstat (limited to 'resources/clImplCustomCode.java')
-rw-r--r--resources/clImplCustomCode.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/clImplCustomCode.java b/resources/clImplCustomCode.java
index 3048a6ad..fab3a724 100644
--- a/resources/clImplCustomCode.java
+++ b/resources/clImplCustomCode.java
@@ -1,9 +1,9 @@
- final static CLProcAddressTable addressTable = new CLProcAddressTable();
+ private final CLProcAddressTable addressTable;
-// static{
-// ProcAddressHelper.resetProcAddressTable(addressTable, );
-// }
+ public CLImpl(CLProcAddressTable addressTable) {
+ this.addressTable = addressTable;
+ }
public long clCreateContext(PointerBuffer properties, PointerBuffer devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) {