diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-10 13:09:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-10 13:09:10 +0300 |
commit | fcb2f8b6fdfa683ce5ba319b46873a0b61c9c75f (patch) | |
tree | 98182f19e3e42443abfcbaff0cc1158eaa335a68 /data/graphics/shaders/texture_vertex.glsl | |
parent | 61e9fc59323157bbd3ea024e816981b975d5b2c8 (diff) | |
download | mv-fcb2f8b6fdfa683ce5ba319b46873a0b61c9c75f.tar.gz mv-fcb2f8b6fdfa683ce5ba319b46873a0b61c9c75f.tar.bz2 mv-fcb2f8b6fdfa683ce5ba319b46873a0b61c9c75f.tar.xz mv-fcb2f8b6fdfa683ce5ba319b46873a0b61c9c75f.zip |
Use same varaible names in simple and texture shaders.
Diffstat (limited to 'data/graphics/shaders/texture_vertex.glsl')
-rw-r--r-- | data/graphics/shaders/texture_vertex.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/graphics/shaders/texture_vertex.glsl b/data/graphics/shaders/texture_vertex.glsl index 383181cd9..c86d9211f 100644 --- a/data/graphics/shaders/texture_vertex.glsl +++ b/data/graphics/shaders/texture_vertex.glsl @@ -1,10 +1,10 @@ #version 150 core -in vec2 texturePos; +in vec2 position; in vec2 texcoord; out vec2 Texcoord; uniform vec2 screen; void main() { Texcoord = texcoord; - gl_Position = vec4(texturePos.x / screen.x - 1, 1 - texturePos.y / screen.y, 0.0, 1.0); + gl_Position = vec4(position.x / screen.x - 1, 1 - position.y / screen.y, 0.0, 1.0); } |