From 0119e8553c6399ba4ba4c1715f02bb569c185e3a Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Mon, 6 Jan 2014 14:41:57 +0400 Subject: [PATCH] fixed cv::mixChannels OpenCL version --- modules/core/src/opencl/mixchannels.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/opencl/mixchannels.cl b/modules/core/src/opencl/mixchannels.cl index 173421e6ce..7abd60af42 100644 --- a/modules/core/src/opencl/mixchannels.cl +++ b/modules/core/src/opencl/mixchannels.cl @@ -44,7 +44,7 @@ #define DECLARE_INPUT_MAT(i) \ __global const uchar * src##i##ptr, int src##i##_step, int src##i##_offset, #define DECLARE_OUTPUT_MAT(i) \ - __global const uchar * dst##i##ptr, int dst##i##_step, int dst##i##_offset, + __global uchar * dst##i##ptr, int dst##i##_step, int dst##i##_offset, #define PROCESS_ELEM(i) \ int src##i##_index = mad24(src##i##_step, y, x * (int)sizeof(T) * scn##i + src##i##_offset); \ __global const T * src##i = (__global const T *)(src##i##ptr + src##i##_index); \