diff 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
line wrap: on
line diff
--- a/test/testgl.c	Thu Oct 25 04:35:42 2001 +0000
+++ b/test/testgl.c	Thu Oct 25 05:37:32 2001 +0000
@@ -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