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_2D_nodelink_frag.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl b/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl
index c4d56579b18..134a7d00127 100644
--- a/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_2D_nodelink_frag.glsl
@@ -1,4 +1,4 @@
-#ifndef USE_GPU_SHADER_CREATE_INFO
+
in float colorGradient;
in vec4 finalColor;
in float lineU;
@@ -8,7 +8,6 @@ flat in float dashAlpha;
flat in int isMainLine;
out vec4 fragColor;
-#endif
#define DASH_WIDTH 10.0
#define ANTIALIAS 1.0