… | … | ||
---|---|---|---|
9 | #endif | 9 | #endif |
10 | 10 | ||
11 | #include <GL/glu.h> | 11 | #include <GL/glu.h> |
12 | #include <GL/glext.h> | 12 | #include <GL/glext.h> |
13 | 13 | ||
14 | #if GL_GLEXT_VERSION < 24 | ||
15 | # error "need at least version 24 of glext.h, see http://oss.sgi.com/projects/ogl-sample/registry/" | ||
16 | #endif | ||
17 | |||
14 | #include <SDL.h> | 18 | #include <SDL.h> |
15 | #define NO_SDL_GLEXT 1 | 19 | #define NO_SDL_GLEXT 1 |
16 | #include <SDL_opengl.h> | 20 | #include <SDL_opengl.h> |
17 | 21 | ||
18 | #ifdef DEBUG | 22 | #ifdef DEBUG |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |