diff --git a/projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp b/projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp index d8a9bc2ea8..e38cfbe141 100644 --- a/projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp +++ b/projects/clr/opencl/api/opencl/amdocl/cl_gl.cpp @@ -995,7 +995,7 @@ bool getCLFormatFromGL(const Context& amdContext, GLint gliInternalFormat, switch (gliInternalFormat) { case GL_RGB10_EXT: case GL_RGB10_A2: - pclImageFormat->image_channel_order = CL_RGB; + pclImageFormat->image_channel_order = CL_RGBA; pclImageFormat->image_channel_data_type = CL_UNORM_INT_101010; *piBytesPerPixel = 4; bRetVal = true;