jit.gl.texture GL Error
Hello,
I am trying to make work a patch that before used to work properly, now I get this errors when trying to assign textures to videoplanes , each time , this 3 errors :
jit.gl.texture: update_texparameter_state: GL Error: Invalid operation
jit.gl.texture: bind: GL Error: Invalid operation
jit.gl.texture: blit: GL Error: Invalid operation
The video plane looks black.
What is going on and how can I fix this ?
we'll need a patch to provide any insight
The errors were fixed by inserting a jit.gl.pix between a "jit.movie @outpoutexture 1 " and a "jit.gl.texture @name myname". The jit.gl.pix does nothing but a swiz r swiz g swiz b swiz a and then a vec 0 0 0 0 again.
I noticed that the name of the output texture changes before and after the jit.gl.pix, so may be that's what solved the problem. But .. I do not know .