Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-10-23 17:32:10 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-10-23 17:32:29 +0300
commit87681f9b5fb4e676c84209a5894ebfe7ae09f9dc (patch)
tree51ac8c1a98750e546e6f00be162269673e2b500d /source/blender
parent8186b96753e60a100a8fa58880350367f6fc85b7 (diff)
Cleanup: remove redundant assignment in previous bugfix
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/gpu/intern/gpu_state.cc5
1 files 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;