diff options
author | Vinson Lee <[email protected]> | 2009-11-17 23:15:25 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-02 19:55:48 -0800 |
commit | 832593772dac9b83db1ed44c8654352978e756eb (patch) | |
tree | c190b50edc29f392031bf752338939e3ecc59f47 /progs/glsl | |
parent | 2a5cd95e243a0e8db25a8c7614c9b9fe5f116044 (diff) |
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
(cherry picked from commit 04442841fb7e9138eb50ff692952ad7e8c3877d8)
Diffstat (limited to 'progs/glsl')
-rw-r--r-- | progs/glsl/CH18-mandel.frag | 2 |
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; |