(Android) Some teardown refinements
This commit is contained in:
parent
9b6425c1da
commit
702f99b80e
|
@ -193,11 +193,7 @@ static void gfx_ctx_check_window(bool *quit,
|
||||||
|
|
||||||
// Check if we are exiting.
|
// Check if we are exiting.
|
||||||
if (state->destroyRequested != 0 || g_android.init_quit)
|
if (state->destroyRequested != 0 || g_android.init_quit)
|
||||||
{
|
|
||||||
gl->quitting = true;
|
|
||||||
*quit = true;
|
*quit = true;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (g_android.animating)
|
if (g_android.animating)
|
||||||
{
|
{
|
||||||
|
@ -207,12 +203,6 @@ static void gfx_ctx_check_window(bool *quit,
|
||||||
if (g_android.state.angle > 1)
|
if (g_android.state.angle > 1)
|
||||||
g_android.state.angle = 0;
|
g_android.state.angle = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gl->quitting)
|
|
||||||
*quit = true;
|
|
||||||
|
|
||||||
if (gl->should_resize)
|
|
||||||
*resize = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gfx_ctx_clear(void)
|
static void gfx_ctx_clear(void)
|
||||||
|
|
Loading…
Reference in New Issue