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:
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_diag_stripes_frag.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_diag_stripes_frag.glsl6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_diag_stripes_frag.glsl b/source/blender/gpu/shaders/gpu_shader_diag_stripes_frag.glsl
index 74cf1c5a3dc..beb71c58100 100644
--- a/source/blender/gpu/shaders/gpu_shader_diag_stripes_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_diag_stripes_frag.glsl
@@ -4,11 +4,7 @@ uniform vec4 color2;
uniform int size1;
uniform int size2;
-#if __VERSION__ == 120
- #define fragColor gl_FragColor
-#else
- out vec4 fragColor;
-#endif
+out vec4 fragColor;
void main()
{