mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue