Update CLERW to the latest version
This commit is contained in:
2
extern/clew/README.blender
vendored
2
extern/clew/README.blender
vendored
@@ -1,5 +1,5 @@
|
|||||||
Project: OpenCL Wrangler
|
Project: OpenCL Wrangler
|
||||||
URL: https://github.com/OpenCLWrangler/clew
|
URL: https://github.com/OpenCLWrangler/clew
|
||||||
License: Apache 2.0
|
License: Apache 2.0
|
||||||
Upstream version: 79a289e
|
Upstream version: 27a6867
|
||||||
Local modifications: None
|
Local modifications: None
|
||||||
|
|||||||
4
extern/clew/src/clew.c
vendored
4
extern/clew/src/clew.c
vendored
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
typedef HMODULE CLEW_DYNLIB_HANDLE;
|
typedef HMODULE CLEW_DYNLIB_HANDLE;
|
||||||
|
|
||||||
#define CLEW_DYNLIB_OPEN LoadLibrary
|
#define CLEW_DYNLIB_OPEN LoadLibraryA
|
||||||
#define CLEW_DYNLIB_CLOSE FreeLibrary
|
#define CLEW_DYNLIB_CLOSE FreeLibrary
|
||||||
#define CLEW_DYNLIB_IMPORT GetProcAddress
|
#define CLEW_DYNLIB_IMPORT GetProcAddress
|
||||||
#else
|
#else
|
||||||
@@ -223,7 +223,7 @@ int clewInit()
|
|||||||
__clewSetCommandQueueProperty = (PFNCLSETCOMMANDQUEUEPROPERTY )CLEW_DYNLIB_IMPORT(module, "clSetCommandQueueProperty");
|
__clewSetCommandQueueProperty = (PFNCLSETCOMMANDQUEUEPROPERTY )CLEW_DYNLIB_IMPORT(module, "clSetCommandQueueProperty");
|
||||||
#endif
|
#endif
|
||||||
__clewCreateBuffer = (PFNCLCREATEBUFFER )CLEW_DYNLIB_IMPORT(module, "clCreateBuffer");
|
__clewCreateBuffer = (PFNCLCREATEBUFFER )CLEW_DYNLIB_IMPORT(module, "clCreateBuffer");
|
||||||
__clewCreateSubBuffer = (PFNCLCREATESUBBUFFER )CLEW_DYNLIB_IMPORT(module, "clCreateBuffer");
|
__clewCreateSubBuffer = (PFNCLCREATESUBBUFFER )CLEW_DYNLIB_IMPORT(module, "clCreateSubBuffer");
|
||||||
__clewCreateImage = (PFNCLCREATEIMAGE )CLEW_DYNLIB_IMPORT(module, "clCreateImage");
|
__clewCreateImage = (PFNCLCREATEIMAGE )CLEW_DYNLIB_IMPORT(module, "clCreateImage");
|
||||||
__clewRetainMemObject = (PFNCLRETAINMEMOBJECT )CLEW_DYNLIB_IMPORT(module, "clRetainMemObject");
|
__clewRetainMemObject = (PFNCLRETAINMEMOBJECT )CLEW_DYNLIB_IMPORT(module, "clRetainMemObject");
|
||||||
__clewReleaseMemObject = (PFNCLRELEASEMEMOBJECT )CLEW_DYNLIB_IMPORT(module, "clReleaseMemObject");
|
__clewReleaseMemObject = (PFNCLRELEASEMEMOBJECT )CLEW_DYNLIB_IMPORT(module, "clReleaseMemObject");
|
||||||
|
|||||||
Reference in New Issue
Block a user