Main loop tweaks

This commit is contained in:
Joshua Granick
2019-07-10 15:17:35 -07:00
parent 8624394ca4
commit 703a57b6fa

View File

@@ -906,7 +906,7 @@ namespace lime {
if (currentUpdate >= nextUpdate) {
SDL_RemoveTimer (timerID);
if (timerActive) SDL_RemoveTimer (timerID);
OnTimer (0, 0);
} else if (!timerActive) {
@@ -941,7 +941,7 @@ namespace lime {
int SDLApplication::WaitEvent (SDL_Event *event) {
#ifdef HX_MACOS
#if defined(HX_MACOS) || defined(ANDROID)
System::GCEnterBlocking ();
int result = SDL_WaitEvent (event);