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:
authorClément Foucault <foucault.clem@gmail.com>2020-03-27 19:20:48 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-03-27 22:00:27 +0300
commita7110618ff3205e2389768f1c387f263dc0d4da3 (patch)
tree081e75ebef5eb9ece874948d6e1bc6d08b54bdeb /source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl
parent0c0170f77a66eb07b2a59ea0303216df01bb09ac (diff)
Cleanup: GPUShader: Remove unused shaders
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl b/source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl
index cfa82572e87..d9f84964eb4 100644
--- a/source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl
@@ -17,8 +17,4 @@ void main()
#else
fragColor = color;
#endif
-
-#if defined(USE_BACKGROUND)
- gl_FragDepth = 1.0;
-#endif
}