Browse Source

update screen when window is resized

Wei Mingzhi 6 years ago
parent
commit
f6ead457a9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      video.c

+ 2 - 0
video.c

@@ -582,6 +582,8 @@ VIDEO_Resize(
    {
       TerminateOnError("Re-creating texture failed on window resize!\n");
    }
+
+   VIDEO_RenderCopy();
 #else
    DWORD                    flags;
    PAL_LARGE SDL_Color      palette[256];