[2/6] wined3d: Call SetGlTextureDesc() from BindTexture() rather than from PreLoad()

H. Verbeet hverbeet at gmail.com
Wed Jan 2 12:52:05 CST 2008


BindTexture() generates a GL texture name when one doesn't exist, so
it should also be the place where the name is propagated to the child
surfaces. This fixes a problem where the surface doesn't have the
texture name when BindTexture() is called on its own before being
called through PreLoad().

Changelog:
  - Call SetGlTextureDesc() from BindTexture() rather than from PreLoad()
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 02-wined3d_bind_texture.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080102/f18ca858/attachment.txt 


More information about the wine-patches mailing list