diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/graphics/opengl/gltexture.h | 14 |
1 files changed, 4 insertions, 10 deletions
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 <GLES/gl.h> -#elif defined(MACOSX) -#include <OpenGL/gl.h> -#else - -#include <GL/gl.h> -#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 <SDL_opengl.h> #endif +#if defined(SDL_BACKEND) +#include <SDL_opengl.h> +#else +#include <GL/gl.h> #endif #include "graphics/surface.h" |