Fix bad use of flags variable in wx-sdl2-display.c.

This commit is contained in:
SarahW 2018-11-30 13:19:16 +00:00
commit d5f07a8594

View file

@ -639,6 +639,8 @@ int render()
if (win_doresize)
{
int flags = SDL_GetWindowFlags(window);
win_doresize = 0;
if (!vid_resize || (flags&SDL_WINDOW_FULLSCREEN)) {
SDL_GetWindowSize(window, &rect.w, &rect.h);