diff --git a/test/core/core_force_pure.cpp b/test/core/core_force_pure.cpp index 4ac61761..d0be7239 100644 --- a/test/core/core_force_pure.cpp +++ b/test/core/core_force_pure.cpp @@ -341,9 +341,10 @@ int test_vec4_swizzle_partial() { int Error = 0; +# if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR + glm::ivec4 A(1, 2, 3, 4); -# if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR { glm::ivec4 B(A.xy, A.zw); Error += A == B ? 0 : 1;