summaryrefslogtreecommitdiff
path: root/progs/glsl
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-18 13:50:49 -0800
committerVinson Lee <vlee@vmware.com>2009-11-18 13:50:49 -0800
commit0d31990b4742eccdf6ae6a3b3e16c81cc863085d (patch)
treee4b113e85d5912ffa2f499a72f82c63b06f74e5f /progs/glsl
parent3bf12c8bea667f5fff0b6f495820a27141f595a2 (diff)
progs/glsl: Fix noise GLSL compilation error on Mac OS.
Diffstat (limited to 'progs/glsl')
-rw-r--r--progs/glsl/noise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/noise.c b/progs/glsl/noise.c
index bb024b5012..1148580ff4 100644
--- a/progs/glsl/noise.c
+++ b/progs/glsl/noise.c
@@ -28,7 +28,7 @@ static const char *FragShaderText =
" 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";