From 702f99b80edc9d987cf68de76a2cf710bd935e15 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 21 Oct 2012 17:38:47 +0200 Subject: [PATCH] (Android) Some teardown refinements --- gfx/context/androidegl_ctx.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gfx/context/androidegl_ctx.c b/gfx/context/androidegl_ctx.c index 2034c77eb8..f095052367 100644 --- a/gfx/context/androidegl_ctx.c +++ b/gfx/context/androidegl_ctx.c @@ -193,11 +193,7 @@ static void gfx_ctx_check_window(bool *quit, // Check if we are exiting. if (state->destroyRequested != 0 || g_android.init_quit) - { - gl->quitting = true; *quit = true; - return; - } if (g_android.animating) { @@ -207,12 +203,6 @@ static void gfx_ctx_check_window(bool *quit, if (g_android.state.angle > 1) g_android.state.angle = 0; } - - if (gl->quitting) - *quit = true; - - if (gl->should_resize) - *resize = true; } static void gfx_ctx_clear(void)