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.