diff options
Diffstat (limited to 'data/graphics/shaders/gles2_vertex.glsl')
-rw-r--r-- | data/graphics/shaders/gles2_vertex.glsl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/data/graphics/shaders/gles2_vertex.glsl b/data/graphics/shaders/gles2_vertex.glsl deleted file mode 100644 index 83bd7f42d..000000000 --- a/data/graphics/shaders/gles2_vertex.glsl +++ /dev/null @@ -1,12 +0,0 @@ -#version 100 - -attribute vec4 position; -varying vec2 Texcoord; -uniform vec2 screen; -uniform vec2 textureSize; - -void main() -{ - Texcoord = vec2(position.z / textureSize.x, position.w / textureSize.y); - gl_Position = vec4(position.x / screen.x - 1.0, 1.0 - position.y / screen.y, 0.0, 1.0); -} |