commit | 0d31990b4742eccdf6ae6a3b3e16c81cc863085d | [log] [tgz] |
---|---|---|
author | Vinson Lee <vlee@vmware.com> | Wed Nov 18 13:50:49 2009 -0800 |
committer | Vinson Lee <vlee@vmware.com> | Wed Nov 18 13:50:49 2009 -0800 |
tree | e4b113e85d5912ffa2f499a72f82c63b06f74e5f | |
parent | 3bf12c8bea667f5fff0b6f495820a27141f595a2 [diff] [blame] |
progs/glsl: Fix noise GLSL compilation error on Mac OS.
diff --git a/progs/glsl/noise.c b/progs/glsl/noise.c index bb024b5..1148580 100644 --- a/progs/glsl/noise.c +++ b/progs/glsl/noise.c
@@ -28,7 +28,7 @@ " vec4 p;\n" " p.xy = gl_TexCoord[0].xy;\n" " p.z = Slice;\n" - " p.w = 0;\n" + " p.w = 0.0;\n" " vec4 n = noise4(p * scale);\n" " gl_FragColor = n * Scale + Bias;\n" "}\n";