mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(Android) Orientation change works again - crashes after a finite
number of times changing orientation though
This commit is contained in:
parent
e8a57f21cd
commit
ae8c7b8d7f
@ -241,7 +241,7 @@ static void gfx_ctx_check_window(bool *quit,
|
||||
|
||||
int32_t new_orient = AConfiguration_getOrientation(g_android.app->config);
|
||||
|
||||
if (new_orient != g_android.last_orient)
|
||||
if (new_orient != g_android.last_orient && g_android.window_ready)
|
||||
{
|
||||
*resize = true;
|
||||
g_android.last_orient = new_orient;
|
||||
|
Loading…
x
Reference in New Issue
Block a user