summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/clover/api/dispatch.hpp2
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"