From 0db7a6206b38b80d9f05dc28d009149b7f632633 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 21 Sep 2021 21:07:14 +0200 Subject: [PATCH] - fixed shader compilation. --- wadsrc/static/shaders/glsl/main.fp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/shaders/glsl/main.fp b/wadsrc/static/shaders/glsl/main.fp index c77cc79fe6..a27f113c01 100644 --- a/wadsrc/static/shaders/glsl/main.fp +++ b/wadsrc/static/shaders/glsl/main.fp @@ -204,7 +204,7 @@ vec4 getTexel(vec2 st) } - if (uTextureMode & TEXF_ClampY) + if ((uTextureMode & TEXF_ClampY) != 0) { if (st.t < 0.0 || st.t > 1.0) {