Fix screen not being refreshed when app transitions from background

Affects some modal windows like dialog, pipboy, etc. on iOS (and likely Android).
This commit is contained in:
Alexander Batalov 2024-03-04 21:37:09 +03:00
parent a8c37ea47f
commit 99315ee761

View File

@ -1119,6 +1119,7 @@ void GNW95_process_message()
break;
case SDL_WINDOWEVENT_SIZE_CHANGED:
handleWindowSizeChanged();
win_refresh_all(&scr_size);
break;
case SDL_WINDOWEVENT_FOCUS_GAINED:
GNW95_isActive = true;