Calling convention is ignored on x64.
This commit is contained in:
parent
9405dde18a
commit
74d25bcffe
|
@ -60,7 +60,7 @@ typedef GLsync cl_GLsync;
|
|||
#endif
|
||||
|
||||
// TODO: This is a bug in current CL implementations (AMD's only?), remove when fixed. (used for cl_native_kernel_func)
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#if defined(_WIN32)
|
||||
#define CL_USER_FUNC_CALLBACK __cdecl
|
||||
#else
|
||||
#define CL_USER_FUNC_CALLBACK CL_CALLBACK
|
||||
|
|
Loading…
Reference in New Issue