diff options
author | Michael Bien <[email protected]> | 2009-09-29 04:10:07 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-09-29 04:10:07 +0200 |
commit | 842f684ed4e900fbc54dd00e92c58a0fe2d8ce04 (patch) | |
tree | cc7bd4a69107c20cf2611b6729a19820c0c90a7c /resources/clImplCustomCode.java | |
parent | 0ac4a12fb74de16f41ee9ad46e917b45523bbac4 (diff) |
temporary added GL3 headers, we should use JOGL's headers in future.
continued with clCreateContextFromType impl.
Diffstat (limited to 'resources/clImplCustomCode.java')
-rw-r--r-- | resources/clImplCustomCode.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/resources/clImplCustomCode.java b/resources/clImplCustomCode.java index 7b69330b..4b1d50c3 100644 --- a/resources/clImplCustomCode.java +++ b/resources/clImplCustomCode.java @@ -1,13 +1,14 @@ public long clCreateContext(IntBuffer properties, int arg1, long[] devices, CreateContextCallback cb, Object userData, IntBuffer errcode_ret) { - return this.clCreateContext0(properties, arg1, devices, cb, null, errcode_ret); + return this.clCreateContext0(properties, arg1, devices, cb, null, errcode_ret, 0); } + public native long clCreateContext0(IntBuffer properties, int size, long[] devices, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int size2); + - public native long clCreateContext0(IntBuffer properties, int arg1, long[] devices, CreateContextCallback cb, Object userData, IntBuffer errcode_ret); public long clCreateContextFromType(IntBuffer arg0, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret) { - return this.clCreateContextFromType0(arg0, device_type, pfn_notify, null, errcode_ret); + return this.clCreateContextFromType0(arg0, 0, device_type, pfn_notify, null, errcode_ret, 0); } + public native long clCreateContextFromType0(IntBuffer arg0, int size, long device_type, CreateContextCallback pfn_notify, Object userData, IntBuffer errcode_ret, int size2); - public native long clCreateContextFromType0(IntBuffer arg0, long device_type, Object pfn_notify, Object userData, IntBuffer errcode_ret);
\ No newline at end of file |