Browse Source

Fixed (non-deadly) mistake in TypeTraits.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
1015ac258e
  1. 2
      src/TypeTraits.h

2
src/TypeTraits.h

@ -131,7 +131,7 @@ template<> struct TypeTraits<GLuint>: public Math::TypeTraits<unsigned int> {
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<GLint>: public Math::TypeTraits<int> {
/* Can not be used for indices */
typedef GLint TextureType;

Loading…
Cancel
Save