From a43230890895cf57debddc9ee4c089ec4dc8b2fe Mon Sep 17 00:00:00 2001 From: Stenzek <stenzek@gmail.com> Date: Tue, 2 Apr 2024 00:27:28 +1000 Subject: [PATCH] GPU: Fix GLES compile error --- src/core/gpu_shadergen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_shadergen.cpp b/src/core/gpu_shadergen.cpp index e54834085..579768fb6 100644 --- a/src/core/gpu_shadergen.cpp +++ b/src/core/gpu_shadergen.cpp @@ -184,7 +184,7 @@ CONSTANT float3 SENSITIVITY = float3(0.08f, 0.08f, 0.08f); // Directly uses the pixel from the Current Field o_col0.rgb = cur; } - else if (row > 0 && row < u_height && mmax > 0.0f) + else if (row > 0u && row < u_height && mmax > 0.0f) { // Reconstructs the missing pixel as the average of the same pixel from the line above and the // line below it in the Current Field.