On 27 January 2013 19:16, Stefan Dösinger stefandoesinger@gmail.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2013-01-26 23:52, schrieb Matteo Bruni:
2013/1/26 Stefan Dsinger stefandoesinger@gmail.com:
Do you really have to re-attach it to the FBO? Or does glBindTexture(GL_TEXTURE_2D, tex) work as well?
Yeah, that works too. I've sent a new patch with this change.
Is it really an fglrx bug in this case? I vaguely remember that the spec says you have to rebind a texture before reading it after you've rendered to an FBO it is attached to. Or was this about rebinding the FBO after modifying the texture via glSubTexImage?
That's when multiple contexts are involved.