diff options
author | Michael Bien <[email protected]> | 2010-04-24 02:41:52 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-24 02:41:52 +0200 |
commit | b0f4d671bcf799884a3d3f31fbfee47f7fc6e5cb (patch) | |
tree | deca75214756762e5be05fa8e54c0a5413eb0015 /resources/clImplCustomCode.java | |
parent | 2fc985f0cdc373cb3c78cc198e21dcc1ce5d961f (diff) |
dynamic binding for OpenGL specific functionality.
Diffstat (limited to 'resources/clImplCustomCode.java')
-rw-r--r-- | resources/clImplCustomCode.java | 8 |
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) { |