Fixed warnings

This commit is contained in:
Groove 2018-08-18 11:40:43 +02:00
parent 88278df477
commit 77d3914f91

View File

@ -350,24 +350,24 @@ int test_vec4_swizzle_partial()
Error += A == B ? 0 : 1; Error += A == B ? 0 : 1;
} }
{ {
glm::ivec4 B(A.xy, 3.0f, 4.0f); glm::ivec4 B(A.xy, 3, 4);
Error += A == B ? 0 : 1; Error += A == B ? 0 : 1;
} }
{ {
glm::ivec4 B(1.0f, A.yz, 4.0f); glm::ivec4 B(1, A.yz, 4);
Error += A == B ? 0 : 1; Error += A == B ? 0 : 1;
} }
{ {
glm::ivec4 B(1.0f, 2.0f, A.zw); glm::ivec4 B(1, 2, A.zw);
Error += A == B ? 0 : 1; Error += A == B ? 0 : 1;
} }
{ {
glm::ivec4 B(A.xyz, 4.0f); glm::ivec4 B(A.xyz, 4);
Error += A == B ? 0 : 1; Error += A == B ? 0 : 1;
} }
{ {
glm::ivec4 B(1.0f, A.yzw); glm::ivec4 B(1, A.yzw);
Error += A == B ? 0 : 1; Error += A == B ? 0 : 1;
} }
# endif # endif