ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/opengl.h
(Generate patch)

Comparing libgender/opengl.h (file contents):
Revision 1.4 by root, Sun Oct 17 05:23:38 2004 UTC vs.
Revision 1.5 by root, Mon Oct 18 15:03:05 2004 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines