fosphor/cl: Allow to use APIs deprecated in CL >= 1.2

Really this fixes a2d35f201843c10cceddfbb64c6ed58bdeb03a88 ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2016-01-25 16:23:10 +01:00
parent b17258f1fc
commit 3a35735409
1 changed files with 1 additions and 1 deletions

View File

@ -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>