Skip to content

Commit

Permalink
continue to draw ios window after error, so error displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmaclarty committed Mar 20, 2016
1 parent af13537 commit 803a23f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/am_backend_ios.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,11 +381,8 @@ static void ios_teardown() {
static int frames_since_disable_animations = 0;

static void ios_draw() {
if (!ios_running) return;
if (!am_update_windows(ios_eng->L)) {
ios_running = false;
return;
}
if (ios_eng == NULL) return;
am_update_windows(ios_eng->L);
//am_debug("%s", "done drawing");
}

Expand Down

0 comments on commit 803a23f

Please sign in to comment.