comparison test/testgl.c @ 214:0e5d6dd77bda

Added platform independent OpenGL header - SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
date Thu, 25 Oct 2001 05:37:32 +0000
parents 74212992fb08
children 50620ec9c86a
comparison
equal deleted inserted replaced
213:c79890792bfb 214:0e5d6dd77bda
4 #include <math.h> 4 #include <math.h>
5 5
6 #include "SDL.h" 6 #include "SDL.h"
7 7
8 #ifdef HAVE_OPENGL 8 #ifdef HAVE_OPENGL
9 #ifdef WIN32 9 #include "SDL_opengl.h"
10 #include <windows.h>
11 #endif
12 #if defined(__APPLE__) && defined(__MACH__)
13 #include <OpenGL/gl.h>
14 #else
15 #include <GL/gl.h>
16 #endif 10 #endif
17 11
18 #define SHADED_CUBE 12 #define SHADED_CUBE
19 13
20 14