I'm trying to extend the gl_interop_demo to use a GLTexture on my Mac but
I get this error.
Traceback (most recent call last):
File "simple_texture.py", line 93, in initializeGL
image = cl.GLTexture(ctx, cl.mem_flags.READ_WRITE, GL. \
GL_TEXTURE_2D, 0, int(texture), 2)
pyopencl.LogicError: clCreateFromGLTexture2D failed: invalid value
This is a fully working OpenGL texture until I add the opencl code.
Does anyone have a working example using textures?
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl