From 40f989703b7ca63b9782de747a0b2d8d25e99f12 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 3 Oct 2022 14:33:28 +0200 Subject: a --- shaders/tile-shader.frag | 2 +- 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; -- cgit v1.2.3