From 17b03b6f208f5fc8481d5fd693f185a24affcc50 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 3 Nov 2024 18:00:36 -0800 Subject: [PATCH] GBA Video: Fix potential shader compilation error --- src/gba/renderers/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/renderers/gl.c b/src/gba/renderers/gl.c index 24fb092c7..dbff67e4e 100644 --- a/src/gba/renderers/gl.c +++ b/src/gba/renderers/gl.c @@ -539,7 +539,7 @@ static const char* const _renderWindow = "}\n" "bool test(vec3 circle, vec4 top, vec4 bottom) {\n" - " if (circle.z > 0) {\n" + " if (circle.z > 0.) {\n" " return distance(circle.xy, texCoord.xy) <= circle.z;\n" " }\n" " return crop(interpolate(top, bottom));\n"