diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_text_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_text_vert.glsl | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_text_vert.glsl b/source/blender/gpu/shaders/gpu_shader_text_vert.glsl index 44568f28c8e..6129f49ce22 100644 --- a/source/blender/gpu/shaders/gpu_shader_text_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_text_vert.glsl @@ -1,19 +1,11 @@ uniform mat4 ModelViewProjectionMatrix; -#if __VERSION__ == 120 - attribute vec2 pos; - attribute vec2 texCoord; - attribute vec4 color; - flat varying vec4 color_flat; - noperspective varying vec2 texCoord_interp; -#else - in vec2 pos; - in vec2 texCoord; - in vec4 color; - flat out vec4 color_flat; - noperspective out vec2 texCoord_interp; -#endif +in vec2 pos; +in vec2 texCoord; +in vec4 color; +flat out vec4 color_flat; +noperspective out vec2 texCoord_interp; void main() { |