diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-03 14:33:28 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-03 14:33:28 +0200 |
| commit | 40f989703b7ca63b9782de747a0b2d8d25e99f12 (patch) | |
| tree | 44dd50ab87c428ab282ac43788beef39c5e2a003 /shaders | |
| parent | a21d15b01588c0cab6d27b4216a64ababc2eef09 (diff) | |
a
Diffstat (limited to 'shaders')
| -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; |
