diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpu/intern/gpu_basic_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_basic_shader.c b/source/blender/gpu/intern/gpu_basic_shader.c index 1e60944c23d..4ac1c48f9d2 100644 --- a/source/blender/gpu/intern/gpu_basic_shader.c +++ b/source/blender/gpu/intern/gpu_basic_shader.c @@ -512,7 +512,7 @@ void GPU_basic_shader_bind(int options) if (options & GPU_SHADER_FLAT_NORMAL) { glShadeModel(GL_FLAT); } - else { + else if (bound_options & GPU_SHADER_FLAT_NORMAL) { glShadeModel(GL_SMOOTH); } } |