mirror of
https://github.com/libretro/RetroArch
synced 2025-03-13 07:14:43 +00:00
(Android) Cut down on engine_draw_frame usage
This commit is contained in:
parent
ee1194d19a
commit
bbbdb1ccc0
@ -86,10 +86,7 @@ static void engine_handle_cmd(struct android_app* app, int32_t cmd)
|
||||
case APP_CMD_INIT_WINDOW:
|
||||
// The window is being shown, get it ready.
|
||||
if (g_android.app->window != NULL)
|
||||
{
|
||||
gfx_ctx_init();
|
||||
engine_draw_frame();
|
||||
}
|
||||
break;
|
||||
case APP_CMD_TERM_WINDOW:
|
||||
// The window is being hidden or closed, clean it up.
|
||||
@ -115,7 +112,6 @@ static void engine_handle_cmd(struct android_app* app, int32_t cmd)
|
||||
g_android.accelerometerSensor);
|
||||
// Also stop animating.
|
||||
g_android.animating = 0;
|
||||
engine_draw_frame();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user