aboutsummaryrefslogtreecommitdiff
path: root/src/core/sampler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/sampler.cpp')
-rw-r--r--src/core/sampler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/sampler.cpp b/src/core/sampler.cpp
index 1201327..fa19f0c 100644
--- a/src/core/sampler.cpp
+++ b/src/core/sampler.cpp
@@ -187,7 +187,7 @@ cl_int Sampler::info(cl_sampler_info param_name,
break;
case CL_SAMPLER_CONTEXT:
- SIMPLE_ASSIGN(cl_context, parent());
+ SIMPLE_ASSIGN(cl_context, desc((Context *)parent()));
break;
case CL_SAMPLER_NORMALIZED_COORDS: