diff options
author | Vinson Lee <vlee@vmware.com> | 2010-03-14 16:02:36 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-03-14 16:02:36 -0700 |
commit | d4f7f2c05cfb966a14f50661fcf148a2b1b72b73 (patch) | |
tree | 97f136c111fcbde0f7c9b4481549bcd240cebebf | |
parent | 1d8a32b2d42f960111d6b49a30478f78e9dc9ea8 (diff) |
glsl-fs-sqrt-branch: Fix GLSL compilation error on Mac OS X.
-rw-r--r-- | tests/shaders/glsl-fs-sqrt-branch.frag | 2 |
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; |