From: Vinson Lee Date: Wed, 18 Nov 2009 07:15:25 +0000 (-0800) Subject: progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=832593772dac9b83db1ed44c8654352978e756eb;p=mesa.git progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS. (cherry picked from commit 04442841fb7e9138eb50ff692952ad7e8c3877d8) --- diff --git a/progs/glsl/CH18-mandel.frag b/progs/glsl/CH18-mandel.frag index a472d812526..a972d68bcfb 100644 --- a/progs/glsl/CH18-mandel.frag +++ b/progs/glsl/CH18-mandel.frag @@ -31,7 +31,7 @@ void main() float iter; // for (iter = 0.0; iter < MaxIterations && r2 < 4.0; ++iter) - for (iter = 0.0; iter < 12 && r2 < 4.0; ++iter) + for (iter = 0.0; iter < 12.0 && r2 < 4.0; ++iter) { float tempreal = real;