ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/opengl.h
Revision: 1.5
Committed: Mon Oct 18 15:03:05 2004 UTC (19 years, 7 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.4: +8 -2 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #ifndef OPENGL_H
2 #define OPENGL_H
3
4 #ifdef USE_GLEW
5 # include <GL/glew.h>
6 #else
7 # define GL_GLEXT_PROTOTYPES
8 # include <GL/gl.h>
9 #endif
10
11 #include <GL/glu.h>
12 #include <GL/glext.h>
13
14 #include <SDL.h>
15 #define NO_SDL_GLEXT 1
16 #include <SDL_opengl.h>
17
18 #include <Cg/cg.h>
19 #include <Cg/cgGL.h>
20
21 #ifdef DEBUG
22 #ifndef USE_GLEW // not compatible with glew yet
23 # include "gldebug.h"
24 #endif
25 #endif
26
27 #endif
28