d3d8: Fix GetDesc and GetLevelDesc for surfaces and textures.

Karsten Elfenbein kelfe at gmx.de
Fri May 19 10:24:51 CDT 2006


I wonder if the d3d9 code requires those changes as well.

Karsten

-----Ursprüngliche Nachricht-----
Von: wine-patches-bounces at winehq.org
[mailto:wine-patches-bounces at winehq.org] Im Auftrag von Peter Beutner
Gesendet: Freitag, 19. Mai 2006 14:18
An: wine-patches at winehq.org
Betreff: d3d8: Fix GetDesc and GetLevelDesc for surfaces and textures.


In DX8 the D3DSURFACE_DESC structure has a size field which needs to be
set. Thats actually the difference the comment there is speaking about.
This was done correctly in the old dx8 code but somehow got lost during
the transition to wined3d. Fix the comment as well.

Small bug, but enough to keep MaxPayne 2 crashing since ~0.9.8.

---




More information about the wine-devel mailing list