Skip to content

Commit

Permalink
Fixed including OpenGL ES on iOS without any other SDL headers
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 14, 2016
1 parent d0898b3 commit 7f28853
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/SDL_opengles.h
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions include/SDL_opengles2.h
Expand Up @@ -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__
Expand Down

0 comments on commit 7f28853

Please sign in to comment.