]> git.tdb.fi Git - libs/gl.git/blobdiff - source/datatype.h
Get rid of the typedefs for fundamental types
[libs/gl.git] / source / datatype.h
diff --git a/source/datatype.h b/source/datatype.h
new file mode 100644 (file)
index 0000000..b44644a
--- /dev/null
@@ -0,0 +1,31 @@
+/* $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
+};
+
+} // namespace GL
+} // namespace Msp
+
+#endif