summaryrefslogtreecommitdiff
path: root/data/graphics/shaders/texture_vertex.glsl
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-11 23:44:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-12 00:47:24 +0300
commit8e1fc2522ee907da5fc3e65691990fd608539a72 (patch)
tree888bdab76dc75120a68c4213c204d0ce13da6f61 /data/graphics/shaders/texture_vertex.glsl
parent41836760fa59abc74098aed7450b4858dc288e56 (diff)
downloadmv-8e1fc2522ee907da5fc3e65691990fd608539a72.tar.gz
mv-8e1fc2522ee907da5fc3e65691990fd608539a72.tar.bz2
mv-8e1fc2522ee907da5fc3e65691990fd608539a72.tar.xz
mv-8e1fc2522ee907da5fc3e65691990fd608539a72.zip
Use only one shader program for all drawing.
Diffstat (limited to 'data/graphics/shaders/texture_vertex.glsl')
-rw-r--r--data/graphics/shaders/texture_vertex.glsl9
1 files changed, 0 insertions, 9 deletions
diff --git a/data/graphics/shaders/texture_vertex.glsl b/data/graphics/shaders/texture_vertex.glsl
deleted file mode 100644
index a10a39b13..000000000
--- a/data/graphics/shaders/texture_vertex.glsl
+++ /dev/null
@@ -1,9 +0,0 @@
-#version 150 core
-in vec4 position;
-out vec2 Texcoord;
-uniform vec2 screen;
-void main()
-{
- Texcoord = vec2(position.z, position.w);
- gl_Position = vec4(position.x / screen.x - 1, 1 - position.y / screen.y, 0.0, 1.0);
-}