diff options
author | Francisco Jerez <[email protected]> | 2014-04-26 13:19:37 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2014-04-29 13:01:37 +0200 |
commit | df985cc8f649fa533737ac71b60db00b9b0c6d41 (patch) | |
tree | 3125da25a46d8e49e76d3b52a4fdc4aeeb2715e5 /src/gallium/state_trackers/clover | |
parent | beadd6b0ccb3e0d58deaa649b267f02fd86648a0 (diff) |
clover: Avoid warnings from references to deprecated CL 1.1 APIs.
Acked-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover')
-rw-r--r-- | src/gallium/state_trackers/clover/api/dispatch.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/clover/api/dispatch.hpp b/src/gallium/state_trackers/clover/api/dispatch.hpp index 9dfb2b9d022..47f9e3916ef 100644 --- a/src/gallium/state_trackers/clover/api/dispatch.hpp +++ b/src/gallium/state_trackers/clover/api/dispatch.hpp @@ -23,6 +23,8 @@ #ifndef API_DISPATCH_HPP #define API_DISPATCH_HPP +#define CL_USE_DEPRECATED_OPENCL_1_1_APIS + #include "CL/cl.h" #include "CL/cl_ext.h" #include "CL/cl_gl.h" |