From 7f28853b89cb675526bcb3033c11dcc4ae23beca Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 14 Sep 2016 08:20:24 -0700 Subject: [PATCH] Fixed including OpenGL ES on iOS without any other SDL headers --- include/SDL_opengles.h | 1 + include/SDL_opengles2.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/SDL_opengles.h b/include/SDL_opengles.h index bcc127779dabd..15abee796bb10 100644 --- a/include/SDL_opengles.h +++ b/include/SDL_opengles.h @@ -24,6 +24,7 @@ * * This is a simple file to encapsulate the OpenGL ES 1.X API headers. */ +#include "SDL_config.h" #ifdef __IPHONEOS__ #include diff --git a/include/SDL_opengles2.h b/include/SDL_opengles2.h index edcd1a24aeb8c..c961f0f7d1fc7 100644 --- a/include/SDL_opengles2.h +++ b/include/SDL_opengles2.h @@ -24,6 +24,8 @@ * * This is a simple file to encapsulate the OpenGL ES 2.0 API headers. */ +#include "SDL_config.h" + #ifndef _MSC_VER #ifdef __IPHONEOS__