Some early SDL2 Android fixes

This commit is contained in:
def 2016-04-29 22:56:13 +02:00
parent 2e0ca0f4b4
commit 1727dd5a72
2 changed files with 1 additions and 2 deletions

View file

@ -16,7 +16,6 @@
#include <GLES/glext.h> #include <GLES/glext.h>
#include <GL/glu.h> #include <GL/glu.h>
#define glOrtho glOrthof #define glOrtho glOrthof
#include <SDL_android.h>
#else #else
#include "SDL_opengl.h" #include "SDL_opengl.h"

View file

@ -232,7 +232,7 @@ int CInput::Update()
return 1; return 1;
#if defined(__ANDROID__) #if defined(__ANDROID__)
case SDL_VIDEORESIZE: case SDL_WINDOWEVENT_RESIZED:
m_VideoRestartNeeded = 1; m_VideoRestartNeeded = 1;
break; break;
#endif #endif