Browse Source

progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.

tags/mesa_7_7_rc1
Vinson Lee 16 years ago
parent
commit
04442841fb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      progs/glsl/CH18-mandel.frag

+ 1
- 1
progs/glsl/CH18-mandel.frag View File

float iter; float iter;


// for (iter = 0.0; iter < MaxIterations && r2 < 4.0; ++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; float tempreal = real;



Loading…
Cancel
Save