[Bf-blender-cvs] [87681f9b5fb] blender-v2.91-release: Cleanup: remove redundant assignment in previous bugfix
Brecht Van Lommel
noreply at git.blender.org
Fri Oct 23 18:14:32 CEST 2020
Commit: 87681f9b5fb4e676c84209a5894ebfe7ae09f9dc
Author: Brecht Van Lommel
Date: Fri Oct 23 16:32:10 2020 +0200
Branches: blender-v2.91-release
https://developer.blender.org/rB87681f9b5fb4e676c84209a5894ebfe7ae09f9dc
Cleanup: remove redundant assignment in previous bugfix
===================================================================
M source/blender/gpu/intern/gpu_state.cc
===================================================================
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;
More information about the Bf-blender-cvs
mailing list