X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftypes.h;h=eb07c72640f23b4249e177d77767b669ce33f428;hb=8f2430208cfa7bb9dc5bd655dde88acc21db54d2;hp=adfd7deb847731eedea7e89be7d25069b857d136;hpb=7adcad3b40a03000a82e32db4523761c218309b8;p=libs%2Fgl.git diff --git a/source/types.h b/source/types.h index adfd7deb..eb07c726 100644 --- a/source/types.h +++ b/source/types.h @@ -1,9 +1,30 @@ +/* $Id$ + +This file is part of libmspgl +Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + #ifndef MSP_GL_TYPES_H_ #define MSP_GL_TYPES_H_ +#include "gl.h" + namespace Msp { namespace GL { +enum DataType +{ + BYTE = GL_BYTE, + UNSIGNED_BYTE = GL_UNSIGNED_BYTE, + SHORT = GL_SHORT, + UNSIGNED_SHORT = GL_UNSIGNED_SHORT, + INT = GL_INT, + UNSIGNED_INT = GL_UNSIGNED_INT, + FLOAT = GL_FLOAT, + DOUBLE = GL_DOUBLE +}; + typedef signed char byte; typedef unsigned char ubyte; typedef unsigned sizei;