From e5f2c235d307f14081812608345b963f62ccbe5d Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 1 Dec 2010 15:15:42 +0000 Subject: BACKENDS: Simplify the inclusion of gl.h. SDL has already simplified it for us :) svn-id: r54704 --- backends/graphics/opengl/gltexture.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'backends/graphics/opengl') diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h index c5a06bbc54..bc806f6064 100644 --- a/backends/graphics/opengl/gltexture.h +++ b/backends/graphics/opengl/gltexture.h @@ -34,18 +34,12 @@ #if defined(USE_GLES) #include -#elif defined(MACOSX) -#include -#else - -#include -#if defined(SDL_BACKEND) && !defined(GL_VERSION_1_2) -// The OpenGL libraries included in Windows are for OpenGL 1.1. Use the SDL -// OpenGL header file to enable the additional needed defines for OpenGL 1.2 -// here. -#include #endif +#if defined(SDL_BACKEND) +#include +#else +#include #endif #include "graphics/surface.h" -- cgit v1.2.3