projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a5cd95
)
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
author
Vinson Lee
<vlee@vmware.com>
Wed, 18 Nov 2009 07:15:25 +0000
(23:15 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 3 Dec 2009 03:55:48 +0000
(19:55 -0800)
(cherry picked from commit
04442841fb7e9138eb50ff692952ad7e8c3877d8
)
progs/glsl/CH18-mandel.frag
patch
|
blob
|
history
diff --git
a/progs/glsl/CH18-mandel.frag
b/progs/glsl/CH18-mandel.frag
index a472d812526de0924d0490f1f0800a65f2cd00b5..a972d68bcfb0be13d99fa551e3a2bb5af48c7505 100644
(file)
--- 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;