X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tests%2Fglsl%2Fbinary_operators.glsl;h=edf36ebbee46ec833fd96ccc68a56c4fd5c34adc;hp=d84962861e689408111836121181a1453c08e3e2;hb=4737d137d0a1c7fed868c4adc7a3d7e00ba7681c;hpb=3c2397dbb6e45fe72214f71048c4edfe4f11ac73 diff --git a/tests/glsl/binary_operators.glsl b/tests/glsl/binary_operators.glsl index d8496286..edf36ebb 100644 --- a/tests/glsl/binary_operators.glsl +++ b/tests/glsl/binary_operators.glsl @@ -52,7 +52,7 @@ void main() mat2x4 m2; vec4 v1 = vec4(1.0); vec2 v3; - v3 = v1*m2+(m2*m1*float(5)*v1).xy+vec2(iv); + v3 = v1*m2+(m2*m1*5.0*v1).xy+vec2(iv); if(b) ++v3; }