Use the included Khronos headers on Android so we can create Core OpenGL contexts when building with older SDK

This commit is contained in:
Sam Lantinga 2017-11-27 15:07:07 -08:00
parent 8758b7bf15
commit 88e3562ba0
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -29,7 +29,6 @@
#include "SDL_system.h"
#include "SDL_android.h"
#include <EGL/egl.h>
#include "keyinfotable.h"