From b9b286e93d458abe0a254b9dba6baa4f3d4d2169 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 25 Sep 2019 20:24:19 +1000 Subject: [PATCH] GPU: Fix shader compile error on Intel --- src/pse/gpu_hw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pse/gpu_hw.cpp b/src/pse/gpu_hw.cpp index 6ecfdfc0c..a4f801fe5 100644 --- a/src/pse/gpu_hw.cpp +++ b/src/pse/gpu_hw.cpp @@ -225,7 +225,7 @@ void main() { #if TEXTURED vec4 texcol = texture(samp0, v_tex0); - if (all(texcol == vec4(0.0, 0.0, 0.0, 0.0))) + if (texcol == vec4(0.0, 0.0, 0.0, 0.0)) discard; #if BLENDING