summaryrefslogtreecommitdiff
path: root/data/graphics/shaders/simple_vertex.glsl
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-09 12:59:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-09 12:59:20 +0300
commit5fe5d3de3c570734d824afac4992a0d00386dbea (patch)
treea8a44914014951142d80c4529dcae64c513dc0f1 /data/graphics/shaders/simple_vertex.glsl
parent49aba83fa6f3393214919166c42fb55c5a9a7796 (diff)
downloadmanaplus-5fe5d3de3c570734d824afac4992a0d00386dbea.tar.gz
manaplus-5fe5d3de3c570734d824afac4992a0d00386dbea.tar.bz2
manaplus-5fe5d3de3c570734d824afac4992a0d00386dbea.tar.xz
manaplus-5fe5d3de3c570734d824afac4992a0d00386dbea.zip
Add shaders for drawing textures.
Diffstat (limited to 'data/graphics/shaders/simple_vertex.glsl')
-rw-r--r--data/graphics/shaders/simple_vertex.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/graphics/shaders/simple_vertex.glsl b/data/graphics/shaders/simple_vertex.glsl
index 766fd5fe5..1ffca8f77 100644
--- a/data/graphics/shaders/simple_vertex.glsl
+++ b/data/graphics/shaders/simple_vertex.glsl
@@ -3,5 +3,5 @@ in vec2 simplePos;
uniform vec2 screen;
void main()
{
- gl_Position = vec4(simplePos.x / screen.x - 1, 1 - simplePos.y / screen.y, 0.0, 1.0);
+ gl_Position = vec4(simplePos.x / screen.x - 1, 1 - simplePos.y / screen.y, 0.0, 1.0);
}