diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_point_uniform_color_aa_frag.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_point_uniform_color_aa_frag.glsl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_point_uniform_color_aa_frag.glsl b/source/blender/gpu/shaders/gpu_shader_point_uniform_color_aa_frag.glsl index 8c8d81f6997..a1c1a9fa854 100644 --- a/source/blender/gpu/shaders/gpu_shader_point_uniform_color_aa_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_point_uniform_color_aa_frag.glsl @@ -1,13 +1,8 @@ uniform vec4 color; -#if __VERSION__ == 120 - varying vec2 radii; - #define fragColor gl_FragColor -#else - in vec2 radii; - out vec4 fragColor; -#endif +in vec2 radii; +out vec4 fragColor; void main() { float dist = length(gl_PointCoord - vec2(0.5)); |