From 3dafbb6ed95371d39637dd693ef02f7249ad9d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 30 Nov 2012 20:00:37 +0100 Subject: [PATCH] Assert that GLsizei is signed integer. --- src/TypeTraits.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TypeTraits.cpp b/src/TypeTraits.cpp index 2d598de4a..8e19a76c5 100644 --- a/src/TypeTraits.cpp +++ b/src/TypeTraits.cpp @@ -29,6 +29,7 @@ static_assert(is_same::value, "GLushort is not the same as u static_assert(is_same::value, "GLshort is not the same as int16_t"); static_assert(is_same::value, "GLuint is not the same as uint32_t"); static_assert(is_same::value, "GLint is not the same as int32_t"); +static_assert(is_same::value, "GLsizei is not the same as int32_t"); static_assert(is_same::value, "GLfloat is not the same as float"); #ifndef MAGNUM_TARGET_GLES static_assert(is_same::value, "GLdouble is not the same as double");