Fixed is_int and is_uint code duplication with GCC and C++11 #107

This commit is contained in:
Christophe Riccio 2013-08-18 21:33:13 +02:00
parent eb07c880c3
commit 1ab7271e7d
2 changed files with 8 additions and 2 deletions

View File

@ -47,13 +47,19 @@ namespace detail
GLM_DETAIL_IS_INT(signed short);
GLM_DETAIL_IS_INT(signed int);
GLM_DETAIL_IS_INT(signed long);
GLM_DETAIL_IS_INT(highp_int_t);
GLM_DETAIL_IS_UINT(unsigned char);
GLM_DETAIL_IS_UINT(unsigned short);
GLM_DETAIL_IS_UINT(unsigned int);
GLM_DETAIL_IS_UINT(unsigned long);
#if(GLM_LANG >= GLM_LANG_CXX0X)
GLM_DETAIL_IS_INT(signed long long);
GLM_DETAIL_IS_UINT(unsigned long long);
#else
GLM_DETAIL_IS_INT(highp_int_t);
GLM_DETAIL_IS_UINT(highp_uint_t);
#endif
}//namespace detail
/// @addtogroup core_precision

View File

@ -40,7 +40,7 @@ http://glm.g-truc.net/glm.pdf
GLM 0.9.4.6: 2013-08-XX
--------------------------------------------------------------------------------
- Fixed detection to select the last known compiler if newer version #106
-
- Fixed is_int and is_uint code duplication with GCC and C++11 #107
================================================================================
GLM 0.9.4.5: 2013-08-12