diff options
| -rw-r--r-- | shaders/tile-shader.frag | 2 | ||||
| -rw-r--r-- | shaders/tile-shader.vert | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shaders/tile-shader.frag b/shaders/tile-shader.frag index 2204c991..beddd43d 100644 --- a/shaders/tile-shader.frag +++ b/shaders/tile-shader.frag @@ -2,7 +2,7 @@ precision highp float; uniform sampler2D sampler; -in vec2 frag_texcoords; +noperspective in vec2 frag_texcoords; out vec4 color; void main() { diff --git a/shaders/tile-shader.vert b/shaders/tile-shader.vert index 681a62a9..e9717f86 100644 --- a/shaders/tile-shader.vert +++ b/shaders/tile-shader.vert @@ -5,7 +5,7 @@ layout (location = 1) uniform vec2 offset; in vec4 position; in vec2 texcoords; -out vec2 frag_texcoords; +noperspective out vec2 frag_texcoords; void main() { frag_texcoords = texcoords; |
