From 1c87be4289e51d76c4f4c89388f84a8f0de664b9 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Fri, 27 Dec 2024 00:15:06 +0100 Subject: [PATCH] Examples/Mandelbrot: Fix shader --- examples/sfml-mandelbrot/mandelbrot.nzsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/sfml-mandelbrot/mandelbrot.nzsl b/examples/sfml-mandelbrot/mandelbrot.nzsl index 7187cad..c6b5584 100644 --- a/examples/sfml-mandelbrot/mandelbrot.nzsl +++ b/examples/sfml-mandelbrot/mandelbrot.nzsl @@ -53,8 +53,8 @@ fn main(input: Input) -> Output else u = 0.0; - let out: Output; - out.color = palette.Sample(vec2[f32](u, 0.0)); + let output: Output; + output.color = palette.Sample(vec2[f32](u, 0.0)); - return out; + return output; }