diff options
Diffstat (limited to 'data/graphics/shaders/simple_vertex.glsl')
-rw-r--r-- | data/graphics/shaders/simple_vertex.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/graphics/shaders/simple_vertex.glsl b/data/graphics/shaders/simple_vertex.glsl index 1ffca8f77..3be44c6d8 100644 --- a/data/graphics/shaders/simple_vertex.glsl +++ b/data/graphics/shaders/simple_vertex.glsl @@ -1,7 +1,7 @@ #version 150 core -in vec2 simplePos; +in vec2 position; 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(position.x / screen.x - 1, 1 - position.y / screen.y, 0.0, 1.0); } |