Revision: | 1.6 |
Committed: | Fri Oct 29 15:58:50 2004 UTC (19 years, 7 months ago) by root |
Content type: | text/plain |
Branch: | MAIN |
Changes since 1.5: | +0 -3 lines |
Log Message: | *** empty log message *** |
# | User | Rev | Content |
---|---|---|---|
1 | root | 1.1 | #ifndef OPENGL_H |
2 | #define OPENGL_H | ||
3 | |||
4 | root | 1.5 | #ifdef USE_GLEW |
5 | # include <GL/glew.h> | ||
6 | #else | ||
7 | # define GL_GLEXT_PROTOTYPES | ||
8 | # include <GL/gl.h> | ||
9 | #endif | ||
10 | root | 1.1 | |
11 | root | 1.2 | #include <GL/glu.h> |
12 | root | 1.1 | #include <GL/glext.h> |
13 | root | 1.3 | |
14 | #include <SDL.h> | ||
15 | #define NO_SDL_GLEXT 1 | ||
16 | #include <SDL_opengl.h> | ||
17 | root | 1.1 | |
18 | root | 1.4 | #ifdef DEBUG |
19 | root | 1.5 | #ifndef USE_GLEW // not compatible with glew yet |
20 | root | 1.4 | # include "gldebug.h" |
21 | root | 1.5 | #endif |
22 | root | 1.4 | #endif |
23 | root | 1.1 | |
24 | #endif | ||
25 |