diff --git a/src/TypeTraits.h b/src/TypeTraits.h index 539e3b76d..d82189641 100644 --- a/src/TypeTraits.h +++ b/src/TypeTraits.h @@ -131,7 +131,7 @@ template<> struct TypeTraits: public Math::TypeTraits { inline constexpr static size_t count() { return 1; } }; -static_assert(sizeof(GLint) == sizeof(unsigned int), "GLint is not the same as int"); +static_assert(sizeof(GLint) == sizeof(int), "GLint is not the same as int"); template<> struct TypeTraits: public Math::TypeTraits { /* Can not be used for indices */ typedef GLint TextureType;