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_point_uniform_color_frag.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_point_uniform_color_frag.glsl6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_point_uniform_color_frag.glsl b/source/blender/gpu/shaders/gpu_shader_point_uniform_color_frag.glsl
index 8e0c75db6bf..852c76fcb26 100644
--- a/source/blender/gpu/shaders/gpu_shader_point_uniform_color_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_point_uniform_color_frag.glsl
@@ -1,11 +1,7 @@
uniform vec4 color;
-#if __VERSION__ == 120
- #define fragColor gl_FragColor
-#else
- out vec4 fragColor;
-#endif
+out vec4 fragColor;
void main()
{