Dear GL developers,
I’m trying to use the function glGetTexImage on textures generated from a movie. For some reason I get the error GL_INVALID_OPERATION and am clueless on how to solve it, what is causing it. Offcourse the array in which I want to store the data is empty.
The code that’s responsible for drawing my textures is ->
After I try to apply glGetTexImage the texture does get drawn and displayed correctly.
If more code/info is required I’ll be more then happy to suply it. Thanks all!