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:
parent
b17258f1fc
commit
3a35735409
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue