Fixed including OpenGL ES on iOS without any other SDL headers

This commit is contained in:
Sam Lantinga 2016-09-14 08:20:24 -07:00
parent d0898b38fc
commit 7f28853b89
2 changed files with 3 additions and 0 deletions

View File

@ -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 <OpenGLES/ES1/gl.h>

View File

@ -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__