[2/2] wined3d: Restore texture bindings in the FBO code

H. Verbeet hverbeet at gmail.com
Mon Dec 25 10:38:54 CST 2006


On 25/12/06, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> Why are you not using glPushAttrib / glPopAttrib?
The relevant bit to push would be GL_TEXTURE_BIT, but that pushes the
bindings for all texture units and pretty much all related state, ie
glTexParameter & glTexEnv state. Since we're only interested in the
texture binding, I doubt it would be more efficient, and we would have
to make sure the texture isn't currently bound to some unit.



More information about the wine-devel mailing list