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_3D_smooth_color_frag.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_3D_smooth_color_frag.glsl9
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_3D_smooth_color_frag.glsl b/source/blender/gpu/shaders/gpu_shader_3D_smooth_color_frag.glsl
index 955a49aa7d2..41fdefd22e8 100644
--- a/source/blender/gpu/shaders/gpu_shader_3D_smooth_color_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_3D_smooth_color_frag.glsl
@@ -1,11 +1,6 @@
-#if __VERSION__ == 120
- varying vec4 finalColor;
- #define fragColor gl_FragColor
-#else
- in vec4 finalColor;
- out vec4 fragColor;
-#endif
+in vec4 finalColor;
+out vec4 fragColor;
void main()
{