replace accidental removal of flag initialization

This commit is contained in:
David Rose 2005-01-15 07:44:35 +00:00
parent 0f23beb5da
commit 75fb3803be
2 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,7 @@ dx_init(void) {
// these both reflect d3d defaults
_color_writemask = 0xFFFFFFFF;
_CurFVFType = 0x0; // guards SetVertexShader fmt
_bGouraudShadingOn = false;
_pD3DDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_FLAT);

View File

@ -314,6 +314,7 @@ dx_init(void) {
// these both reflect d3d defaults
_color_writemask = 0xFFFFFFFF;
_CurFVFType = 0x0; // guards SetVertexShader fmt
_bGouraudShadingOn = false;
_pD3DDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_FLAT);