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:
-rw-r--r--source/blender/gpu/intern/gpu_state.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_state.cc b/source/blender/gpu/intern/gpu_state.cc
index fae196b202a..10c3fabe75d 100644
--- a/source/blender/gpu/intern/gpu_state.cc
+++ b/source/blender/gpu/intern/gpu_state.cc
@@ -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;