Fixed VC warning

This commit is contained in:
Christophe Riccio 2018-08-17 00:23:07 +02:00
parent 803c58c99e
commit bb98016c33

View File

@ -341,9 +341,10 @@ int test_vec4_swizzle_partial()
{ {
int Error = 0; int Error = 0;
# if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
glm::ivec4 A(1, 2, 3, 4); glm::ivec4 A(1, 2, 3, 4);
# if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
{ {
glm::ivec4 B(A.xy, A.zw); glm::ivec4 B(A.xy, A.zw);
Error += A == B ? 0 : 1; Error += A == B ? 0 : 1;