summaryrefslogtreecommitdiff
path: root/boost/compute/image/image_sampler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/image/image_sampler.hpp')
-rw-r--r--boost/compute/image/image_sampler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/compute/image/image_sampler.hpp b/boost/compute/image/image_sampler.hpp
index 4f1bfe9b86..26f20aa9d5 100644
--- a/boost/compute/image/image_sampler.hpp
+++ b/boost/compute/image/image_sampler.hpp
@@ -55,7 +55,7 @@ public:
{
cl_int error = 0;
- #ifdef CL_VERSION_2_0
+ #ifdef BOOST_COMPUTE_CL_VERSION_2_0
std::vector<cl_sampler_properties> sampler_properties;
sampler_properties.push_back(CL_SAMPLER_NORMALIZED_COORDS);
sampler_properties.push_back(cl_sampler_properties(normalized_coords));