I am creating an OpenCL texture in the usual manner:
clCreateFromGLTexture2D() and i am getting the error mentioned in the subject. I am not sure here what might have went wrong:
1. I have the valid opencl context.
2. memory flag is both read and write.
3. a valid texture target is mentioned.
4. miplevel value is set to 0
5. a texture id is set.
Any hint to get around this issue? Is there any generic scenarios that causes this type of error?