Fix use of uninitialized line/polygon smooth variables in GPU state
Found by valgrind, unclear if this caused an actual bug.
This commit is contained in:
parent
9441c640c8
commit
8186b96753
|
@ -396,6 +396,8 @@ StateManager::StateManager(void)
|
|||
state.shadow_bias = false;
|
||||
state.polygon_smooth = false;
|
||||
state.clip_distances = 0;
|
||||
state.polygon_smooth = 0;
|
||||
state.line_smooth = 0;
|
||||
|
||||
mutable_state.depth_range[0] = 0.0f;
|
||||
mutable_state.depth_range[1] = 1.0f;
|
||||
|
|
Loading…
Reference in New Issue