mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
replace accidental removal of flag initialization
This commit is contained in:
parent
0f23beb5da
commit
75fb3803be
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user