Browse Source

Fixed swizzle build on VC

Groove 7 years ago
parent
commit
27a1b24835
2 changed files with 1 additions and 3 deletions
  1. 1 1
      glm/detail/setup.hpp
  2. 0 2
      glm/gtx/compatibility.inl

+ 1 - 1
glm/detail/setup.hpp

@@ -448,7 +448,7 @@
 #define GLM_SWIZZLE_OPERATOR		1
 #define GLM_SWIZZLE_FUNCTION		2
 
-#if defined(GLM_FORCE_SWIZZLE) && !defined(GLM_FORCE_XYZW_ONLY) && (GLM_LANG & GLM_LANG_CXX11_FLAG) && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
+#if defined(GLM_FORCE_SWIZZLE) && !defined(GLM_FORCE_XYZW_ONLY) && (GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
 #	define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_OPERATOR
 #elif defined(GLM_FORCE_SWIZZLE) && !defined(GLM_FORCE_XYZW_ONLY)
 #	define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_FUNCTION

+ 0 - 2
glm/gtx/compatibility.inl

@@ -1,5 +1,3 @@
-/// @ref gtx_compatibility
-
 #include <limits>
 
 namespace glm