Force screen redraw after playing movies

Fixes #180
This commit is contained in:
Alexander Batalov 2022-10-25 13:05:09 +03:00
parent ad9b8586e9
commit c47113ca29
1 changed files with 4 additions and 0 deletions

View File

@ -284,6 +284,10 @@ int gameMoviePlay(int movie, int flags)
windowDestroy(win); windowDestroy(win);
// CE: Destroying a window redraws only content it was covering (centered
// 640x480). This leads to everything outside this rect to remain black.
windowRefreshAll(&_scr_size);
if ((flags & GAME_MOVIE_PAUSE_MUSIC) != 0) { if ((flags & GAME_MOVIE_PAUSE_MUSIC) != 0) {
backgroundSoundResume(); backgroundSoundResume();
} }