Fixed error to cover deprecated define

This commit is contained in:
Christophe Riccio 2016-09-02 01:41:20 +02:00
parent 8bfefbd1ce
commit e77c300e4c

View File

@ -3,7 +3,7 @@
#pragma once #pragma once
#if defined(GLM_FORCE_SWIZZLE) && defined(GLM_FORCE_UNRESTRICTED_GENTYPE) #if (defined(GLM_FORCE_SWIZZLE) || defined(GLM_SWIZZLE)) && defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
# error "Both GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE can't be defined at the same time" # error "Both GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE can't be defined at the same time"
#endif #endif