diff options
author | Sam Lantinga <slouken@libsdl.org> | 2001-10-25 05:37:32 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2001-10-25 05:37:32 +0000 |
commit | 312bc6134c4f27010601c7157603502f63a0362b (patch) | |
tree | bdc7d20255cc4be17f2033e4da2c53ee6ea48614 /test | |
parent | dc476eef7706f1c2232f0d698bc572b8547ab6f8 (diff) |
Added platform independent OpenGL header - SDL_opengl.h
Diffstat (limited to 'test')
-rw-r--r-- | test/configure.in | 2 | ||||
-rw-r--r-- | test/testgl.c | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/test/configure.in b/test/configure.in index 7b9a5cd12f..adf98152f6 100644 --- a/test/configure.in +++ b/test/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(README) dnl Setup for automake -SDL_VERSION=1.2.0 +SDL_VERSION=1.2.3 dnl Detect the canonical host and target build environment AC_CANONICAL_HOST diff --git a/test/testgl.c b/test/testgl.c index 412c6cd98c..eb7d5ec660 100644 --- a/test/testgl.c +++ b/test/testgl.c @@ -6,13 +6,7 @@ #include "SDL.h" #ifdef HAVE_OPENGL -#ifdef WIN32 -#include <windows.h> -#endif -#if defined(__APPLE__) && defined(__MACH__) -#include <OpenGL/gl.h> -#else -#include <GL/gl.h> +#include "SDL_opengl.h" #endif #define SHADED_CUBE |