projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bf12c8
)
progs/glsl: Fix noise GLSL compilation error on Mac OS.
author
Vinson Lee
<vlee@vmware.com>
Wed, 18 Nov 2009 21:50:49 +0000
(13:50 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 18 Nov 2009 21:50:49 +0000
(13:50 -0800)
progs/glsl/noise.c
patch
|
blob
|
history
diff --git
a/progs/glsl/noise.c
b/progs/glsl/noise.c
index bb024b50121feea730de8a3934064889d4323f29..1148580ff4d60e5e97332104b4e25d7a6b1a20cf 100644
(file)
--- 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";