]> git.tdb.fi Git - libs/gl.git/blob - source/types.h
Make the use of DevIL optional
[libs/gl.git] / source / types.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2007  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_TYPES_H_
9 #define MSP_GL_TYPES_H_
10
11 #include <GL/gl.h>
12
13 namespace Msp {
14 namespace GL {
15
16 enum DataType
17 {
18         BYTE           = GL_BYTE,
19         UNSIGNED_BYTE  = GL_UNSIGNED_BYTE,
20         SHORT          = GL_SHORT,
21         UNSIGNED_SHORT = GL_UNSIGNED_SHORT,
22         INT            = GL_INT,
23         UNSIGNED_INT   = GL_UNSIGNED_INT,
24         FLOAT          = GL_FLOAT,
25         DOUBLE         = GL_DOUBLE
26 };
27
28 typedef signed char byte;
29 typedef unsigned char ubyte;
30 typedef unsigned sizei;
31 typedef unsigned uint;
32
33 } // namespace GL
34 } // namespace Msp
35
36 #endif