diff options
Diffstat (limited to 'tests/shaders/glsl-fs-sqrt-branch.frag')
-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; |