[D3D 78] Small patch to get Tomb Raider 3 to work
Lionel Ulmer
lionel.ulmer at free.fr
Fri Jan 3 14:23:35 CST 2003
Changelog:
Enable Z buffer by default.
--
Lionel Ulmer - http://www.bbrox.org/
-------------- next part --------------
--- /home/ulmer/Wine/wine_base//dlls/ddraw/d3ddevice/main.c 2003-01-03 10:56:21.000000000 +0100
+++ /home/ulmer/Wine/wine_work//dlls/ddraw/d3ddevice/main.c 2003-01-03 18:28:07.000000000 +0100
@@ -41,7 +41,7 @@
D3DRENDERSTATE_TEXTUREPERSPECTIVE, TRUE,
/* FIXME: D3DRENDERSTATE_WRAPU */
/* FIXME: D3DRENDERSTATE_WRAPV */
- D3DRENDERSTATE_ZENABLE, FALSE,
+ D3DRENDERSTATE_ZENABLE, D3DZB_TRUE, /* This needs to be set differently according to the Z buffer status */
D3DRENDERSTATE_FILLMODE, D3DFILL_SOLID,
D3DRENDERSTATE_SHADEMODE, D3DSHADE_GOURAUD,
D3DRENDERSTATE_LINEPATTERN, 0,
More information about the wine-patches
mailing list