From 87681f9b5fb4e676c84209a5894ebfe7ae09f9dc Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 23 Oct 2020 16:32:10 +0200 Subject: [PATCH] Cleanup: remove redundant assignment in previous bugfix --- source/blender/gpu/intern/gpu_state.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/blender/gpu/intern/gpu_state.cc b/source/blender/gpu/intern/gpu_state.cc index 10c3fabe75d..0b2e4989a33 100644 --- a/source/blender/gpu/intern/gpu_state.cc +++ b/source/blender/gpu/intern/gpu_state.cc @@ -394,10 +394,9 @@ StateManager::StateManager(void) state.logic_op_xor = false; state.invert_facing = false; state.shadow_bias = false; - state.polygon_smooth = false; state.clip_distances = 0; - state.polygon_smooth = 0; - state.line_smooth = 0; + state.polygon_smooth = false; + state.line_smooth = false; mutable_state.depth_range[0] = 0.0f; mutable_state.depth_range[1] = 1.0f;