From 1015ac258e2a89701d80dd8a4b1810da92a41ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 19 Feb 2012 19:37:39 +0100 Subject: [PATCH] Fixed (non-deadly) mistake in TypeTraits. --- src/TypeTraits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;