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_varying_color_outline_aa_frag.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_aa_frag.glsl12
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_aa_frag.glsl b/source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_aa_frag.glsl
index d6cbe2d9a22..9b7d4bfc6d6 100644
--- a/source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_aa_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_point_varying_color_outline_aa_frag.glsl
@@ -1,15 +1,9 @@
uniform vec4 outlineColor;
-#if __VERSION__ == 120
- varying vec4 radii;
- varying vec4 fillColor;
- #define fragColor gl_FragColor
-#else
- in vec4 radii;
- in vec4 fillColor;
- out vec4 fragColor;
-#endif
+in vec4 radii;
+in vec4 fillColor;
+out vec4 fragColor;
void main() {
float dist = length(gl_PointCoord - vec2(0.5));