Skip to content
Permalink
Browse files

Main loop tweaks

  • Loading branch information
jgranick committed Jul 10, 2019
1 parent 8624394 commit 703a57b6faf2501ff31ce785a13eda93b6efa09e
Showing with 2 additions and 2 deletions.
  1. +2 −2 project/src/backend/sdl/SDLApplication.cpp
@@ -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);

0 comments on commit 703a57b

Please sign in to comment.
You can’t perform that action at this time.