summaryrefslogtreecommitdiff
path: root/progs/glsl
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-17 23:15:25 -0800
committerVinson Lee <vlee@vmware.com>2009-11-17 23:15:25 -0800
commit04442841fb7e9138eb50ff692952ad7e8c3877d8 (patch)
tree1cef74243eac482af245c8a8e4e69aadac979a05 /progs/glsl
parent70dca0c273d681d004b014dd8d4434be664cb202 (diff)
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
Diffstat (limited to 'progs/glsl')
-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 a472d81252..a972d68bcf 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;