summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-12 22:09:27 +0200
committerSven Gothel <[email protected]>2013-10-12 22:09:27 +0200
commitef02c4dc2aced367ad5de29171d138161e2b3514 (patch)
treed4c0e01d8fb989360bec67f5194c002ddc32e0e1 /resources
parent722624dbbce37fa69c0cae0d832beb5a58d68739 (diff)
Refine 7b21b5abb6373637eeeb270de05bb7472f70b853: Add CLGL.CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE and comment it's usage; Remove 'import static'
Note: JOCL impl. shall remove all 'import static' to remove hardhsip on ClassLoader ..
Diffstat (limited to 'resources')
-rw-r--r--resources/clgl-if.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/clgl-if.cfg b/resources/clgl-if.cfg
index e21005d4..1671f76c 100644
--- a/resources/clgl-if.cfg
+++ b/resources/clgl-if.cfg
@@ -19,5 +19,8 @@ Extends CLGL CL
#only include token starting with CL_GL_ and methods containing GL
IgnoreNot CL_GL_.*|cl.*GL.*|.*_GL_.*
+CustomJavaCode CLGL /** To be used on Mac OSX instead of {@link #CL_CGL_SHAREGROUP_KHR}}. FIXME: For all Mac OSX versions? */
+CustomJavaCode CLGL public static final int CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE = 0x10000000;
+
#append to generated c files
#CustomCCode #include <inttypes.h>