Fixed including OpenGL ES on iOS without any other SDL headers
authorSam Lantinga <slouken@libsdl.org>
Wed, 14 Sep 2016 08:20:24 -0700
changeset 103446b59f3fb41fd
parent 10343 91b3dc8dcedd
child 10345 a255c5be0be2
Fixed including OpenGL ES on iOS without any other SDL headers
include/SDL_opengles.h
include/SDL_opengles2.h
     1.1 --- a/include/SDL_opengles.h	Wed Sep 14 07:09:35 2016 -0700
     1.2 +++ b/include/SDL_opengles.h	Wed Sep 14 08:20:24 2016 -0700
     1.3 @@ -24,6 +24,7 @@
     1.4   *
     1.5   *  This is a simple file to encapsulate the OpenGL ES 1.X API headers.
     1.6   */
     1.7 +#include "SDL_config.h"
     1.8  
     1.9  #ifdef __IPHONEOS__
    1.10  #include <OpenGLES/ES1/gl.h>
     2.1 --- a/include/SDL_opengles2.h	Wed Sep 14 07:09:35 2016 -0700
     2.2 +++ b/include/SDL_opengles2.h	Wed Sep 14 08:20:24 2016 -0700
     2.3 @@ -24,6 +24,8 @@
     2.4   *
     2.5   *  This is a simple file to encapsulate the OpenGL ES 2.0 API headers.
     2.6   */
     2.7 +#include "SDL_config.h"
     2.8 +
     2.9  #ifndef _MSC_VER
    2.10  
    2.11  #ifdef __IPHONEOS__