wined3d: Rebind texture before checking for its content in check_fbo_compat().

Henri Verbeet hverbeet at
Sun Jan 27 12:44:43 CST 2013

On 27 January 2013 19:16, Stefan Dösinger <stefandoesinger at> wrote:
> Hash: SHA1
> Am 2013-01-26 23:52, schrieb Matteo Bruni:
>> 2013/1/26 Stefan D￶singer <stefandoesinger at>:
>>> 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.

More information about the wine-devel mailing list