diff options
author | Vinson Lee <vlee@vmware.com> | 2009-11-18 13:50:49 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-02 20:16:51 -0800 |
commit | b094683e7c2f14f61cf3511f286b4cea450609c8 (patch) | |
tree | 06f9f3f2040679ceb3151be67a181c7d253991b3 /progs/glsl | |
parent | 592c8522a280898ba7a797923c0e054ac6df038f (diff) | |
download | external_mesa3d-b094683e7c2f14f61cf3511f286b4cea450609c8.zip external_mesa3d-b094683e7c2f14f61cf3511f286b4cea450609c8.tar.gz external_mesa3d-b094683e7c2f14f61cf3511f286b4cea450609c8.tar.bz2 |
progs/glsl: Fix noise GLSL compilation error on Mac OS.
(cherry picked from commit 0d31990b4742eccdf6ae6a3b3e16c81cc863085d)
Diffstat (limited to 'progs/glsl')
-rw-r--r-- | progs/glsl/noise.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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"; |