summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-02-17 02:56:57 +0100
committerSven Gothel <[email protected]>2014-02-17 02:56:57 +0100
commitaeb5cb8f1de47841cca328227faff0d4ccbb97c5 (patch)
tree539df82d338c4702d7bce25c23bdbd13c6cf0a9b
parent569726132f622e290bebc5d40c96f8115dbcb5da (diff)
Fix Bug 920 - JOCL does not work on windows with 32 bit vm (2/2)
All gluegen generated native function wrappers, miss CL_API_CALL in the function declarations similar to commit 569726132f622e290bebc5d40c96f8115dbcb5da. Adding gluegen calling convention to cl-impl.cfg: LocalProcAddressCallingConvention __ALL__ CL_API_CALL All tests passed on windows 32bit now!
-rw-r--r--make/config/cl-impl.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/config/cl-impl.cfg b/make/config/cl-impl.cfg
index c2aff892..19ea1379 100644
--- a/make/config/cl-impl.cfg
+++ b/make/config/cl-impl.cfg
@@ -17,10 +17,13 @@ ImplJavaClass CLAbstractImpl
AccessControl CLAbstractImpl PUBLIC_ABSTRACT
Implements CLAbstractImpl CLGL
+LocalProcAddressCallingConvention __ALL__ CL_API_CALL
+
EmitProcAddressTable true
ProcAddressTableClassName CLProcAddressTable
GetProcAddressTableExpr addressTable
ProcAddressNameExpr $UpperCase(arg)
+ForceProcAddressGen __ALL__
#dynamic binding for OpenGL specific functions...
#ForceProcAddressGen clGetGLContextInfoKHR