X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftypes.h;h=0ae9e77e83ad4e299d8dbe4051aedb365a7a29ed;hb=d1800d7ea80290f4913d0203241cef1409656522;hp=adfd7deb847731eedea7e89be7d25069b857d136;hpb=7adcad3b40a03000a82e32db4523761c218309b8;p=libs%2Fgl.git diff --git a/source/types.h b/source/types.h index adfd7deb..0ae9e77e 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 + 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;