I’m developing an app which utilizes GL2.0+ (and an equiv port for GLES2.0) however I have an issue where by I am required to make a copy of the current Framebuffer so that I can apply some additional filter effects.
However, if the currently active Framebuffer is an FBO with a single color POT-texture attachment then I am unable to perform a texture copy operation using code which binds a texture and glCopyTexImage2D (…) to update the bound texture with the Framebuffer contents. Using glGetError() reports no errors.
If via debuging, I force the framebuffer not to be bound then the texture update works as expected. (albeit the wrong data is copied into the target texture ).
Does anybody know if this is a known issue or can point me as to the likely cause?