summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-17 23:15:25 -0800
committerVinson Lee <[email protected]>2009-11-17 23:15:25 -0800
commit04442841fb7e9138eb50ff692952ad7e8c3877d8 (patch)
tree1cef74243eac482af245c8a8e4e69aadac979a05 /progs
parent70dca0c273d681d004b014dd8d4434be664cb202 (diff)
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
Diffstat (limited to 'progs')
-rw-r--r--progs/glsl/CH18-mandel.frag2
1 files changed, 1 insertions, 1 deletions
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;