diff options
Diffstat (limited to 'backends/graphics/opengl/glerrorcheck.cpp')
-rw-r--r-- | backends/graphics/opengl/glerrorcheck.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/graphics/opengl/glerrorcheck.cpp b/backends/graphics/opengl/glerrorcheck.cpp index 3abcc27eed..9989a4cf9d 100644 --- a/backends/graphics/opengl/glerrorcheck.cpp +++ b/backends/graphics/opengl/glerrorcheck.cpp @@ -39,10 +39,10 @@ #undef ARRAYSIZE #endif -#ifdef MACOSX -#include <OpenGL/gl.h> -#elif defined(USE_GLES) +#if defined(USE_GLES) #include <GLES/gl.h> +#elif defined(MACOSX) +#include <OpenGL/gl.h> #else #include <GL/gl.h> #endif |