1 // Define __gl_h_ so that GL/gl.h doesn't get bound as part of CgGL.java
2 // because cgGL.h tries to include it
3 #define __gl_h_
4 
5 // Define some types so that cgGL.h has the types it expected to get by
6 // including GL/gl.h (which we disabled above)
7 typedef unsigned int    GLenum;
8 typedef unsigned char   GLboolean;
9 typedef unsigned int    GLbitfield;
10 typedef void            GLvoid;
11 typedef signed char     GLbyte;         /* 1-byte signed */
12 typedef short           GLshort;        /* 2-byte signed */
13 typedef int             GLint;          /* 4-byte signed */
14 typedef unsigned char   GLubyte;        /* 1-byte unsigned */
15 typedef unsigned short  GLushort;       /* 2-byte unsigned */
16 typedef unsigned int    GLuint;         /* 4-byte unsigned */
17 typedef int             GLsizei;        /* 4-byte signed */
18 typedef float           GLfloat;        /* single precision float */
19 typedef float           GLclampf;       /* single precision float in [0,1] */
20 typedef double          GLdouble;       /* double precision float */
21 typedef double          GLclampd;       /* double precision float in [0,1] */
22 
23 #define CGDLL_API
24 #include <Cg/cgGL.h>
25 
26 
27