summaryrefslogtreecommitdiff
path: root/test/testgl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testgl.c')
-rw-r--r--test/testgl.c8
1 files changed, 1 insertions, 7 deletions
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