Skip to content

Commit

Permalink
Use the included Khronos headers on Android so we can create Core Ope…
Browse files Browse the repository at this point in the history
…nGL contexts when building with older SDK
  • Loading branch information
slouken committed Nov 27, 2017
1 parent 8758b7b commit 88e3562
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion include/SDL_egl.h
Expand Up @@ -24,7 +24,7 @@
*
* This is a simple file to encapsulate the EGL API headers.
*/
#ifndef _MSC_VER
#if !defined(_MSC_VER) && !defined(__ANDROID__)

#include <EGL/egl.h>
#include <EGL/eglext.h>
Expand Down
1 change: 0 additions & 1 deletion src/core/android/SDL_android.c
Expand Up @@ -29,7 +29,6 @@

#include "SDL_system.h"
#include "SDL_android.h"
#include <EGL/egl.h>

#include "keyinfotable.h"

Expand Down

0 comments on commit 88e3562

Please sign in to comment.