opencl: Avoid deprecation warning for OpenCL 1.2 APIs.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
This commit is contained in:
parent
bc26431e94
commit
7a485dd1ea
|
@ -32,6 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl);
|
|||
|
||||
#if defined(HAVE_CL_CL_H)
|
||||
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
|
||||
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
|
||||
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
|
||||
#include <CL/cl.h>
|
||||
#elif defined(HAVE_OPENCL_OPENCL_H)
|
||||
|
|
Loading…
Reference in New Issue