Enable Z buffer by default.

This commit is contained in:
Lionel Ulmer 2003-01-03 22:32:30 +00:00 committed by Alexandre Julliard
parent 63d228a1e2
commit 330a1b5f2d

View File

@ -41,7 +41,7 @@ DWORD InitRenderStateTab[] = {
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,