mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
Fixed VC warning
This commit is contained in:
parent
803c58c99e
commit
bb98016c33
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user