summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/fosphor/cl_platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fosphor/cl_platform.h b/lib/fosphor/cl_platform.h
index 8a081ac..0b080d6 100644
--- a/lib/fosphor/cl_platform.h
+++ b/lib/fosphor/cl_platform.h
@@ -35,7 +35,7 @@
# include <OpenCL/cl_gl_ext.h>
#else
# define CL_USE_DEPRECATED_OPENCL_1_1_APIS
-# define CL_USE_DEPRECATED_OPENCL_2_0_APIS
+# define CL_USE_DEPRECATED_OPENCL_1_2_APIS
# include <CL/cl.h>
# include <CL/cl_ext.h>
# include <CL/cl_gl.h>