From 8eea0d09cb75d9dd15cd7c60c2c3f91834d715f0 Mon Sep 17 00:00:00 2001 From: Jonathan Hoffstadt Date: Tue, 4 Jun 2024 15:16:35 -0500 Subject: [PATCH] fix: jfa glsl shader issue --- shaders/glsl/jumpfloodalgo.comp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/glsl/jumpfloodalgo.comp b/shaders/glsl/jumpfloodalgo.comp index 8a3d540d..2c760aec 100644 --- a/shaders/glsl/jumpfloodalgo.comp +++ b/shaders/glsl/jumpfloodalgo.comp @@ -75,5 +75,5 @@ void main() curr = jump(curr, tMin, jumpDist * ivec2(-1, +1)); // nw outColor = vec2(curr.x, curr.y); - imageStore(outputImage, tMin, outColor); + imageStore(outputImage, tMin, vec4(outColor, 0, 0)); } \ No newline at end of file