Commit 7a485dd1 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

opencl: Avoid deprecation warning for OpenCL 1.2 APIs.

parent bc26431e
...@@ -32,6 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl); ...@@ -32,6 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(opencl);
#if defined(HAVE_CL_CL_H) #if defined(HAVE_CL_CL_H)
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS #define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS #define CL_USE_DEPRECATED_OPENCL_2_0_APIS
#include <CL/cl.h> #include <CL/cl.h>
#elif defined(HAVE_OPENCL_OPENCL_H) #elif defined(HAVE_OPENCL_OPENCL_H)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment