summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-03-14 16:02:36 -0700
committerVinson Lee <vlee@vmware.com>2010-03-14 16:02:36 -0700
commitd4f7f2c05cfb966a14f50661fcf148a2b1b72b73 (patch)
tree97f136c111fcbde0f7c9b4481549bcd240cebebf
parent1d8a32b2d42f960111d6b49a30478f78e9dc9ea8 (diff)
glsl-fs-sqrt-branch: Fix GLSL compilation error on Mac OS X.
-rw-r--r--tests/shaders/glsl-fs-sqrt-branch.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-fs-sqrt-branch.frag b/tests/shaders/glsl-fs-sqrt-branch.frag
index 14ab3eec2..a499fc533 100644
--- a/tests/shaders/glsl-fs-sqrt-branch.frag
+++ b/tests/shaders/glsl-fs-sqrt-branch.frag
@@ -2,7 +2,7 @@ uniform vec4 args1, args2;
void main()
{
- if (args2.x != 0)
+ if (args2.x != 0.0)
gl_FragColor = sqrt(args1);
else
gl_FragColor = args2;