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_fullscreen_vert.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_fullscreen_vert.glsl12
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_fullscreen_vert.glsl b/source/blender/gpu/shaders/gpu_shader_fullscreen_vert.glsl
index cf2d28343cc..fc5cc1cdcc3 100644
--- a/source/blender/gpu/shaders/gpu_shader_fullscreen_vert.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_fullscreen_vert.glsl
@@ -1,13 +1,7 @@
-#if __VERSION__ == 120
- attribute vec2 pos;
- attribute vec2 uvs;
- varying vec4 uvcoordsvar;
-#else
- in vec2 pos;
- in vec2 uvs;
- out vec4 uvcoordsvar;
-#endif
+in vec2 pos;
+in vec2 uvs;
+out vec4 uvcoordsvar;
void main()
{