summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2016-01-25 16:23:10 +0100
committerSylvain Munaut <tnt@246tNt.com>2016-01-25 16:27:00 +0100
commit3a35735409dd17a8e7f60ba5d7ae0b95552951fe (patch)
tree3d30002c545ea77049fc6748b8ee34e79aa09927
parentb17258f1fc4ccc7859839a048916c8ad355c1e4c (diff)
fosphor/cl: Allow to use APIs deprecated in CL >= 1.2
Really this fixes a2d35f201843c10cceddfbb64c6ed58bdeb03a88 ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-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>