Fix bad use of flags variable in wx-sdl2-display.c.
This commit is contained in:
parent
43b5b83644
commit
d5f07a8594
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue