made windowed-mode windows be resize-able/scale-able - guest OS display size is retained, though

This commit is contained in:
David Ludwig 2017-08-15 21:47:45 -04:00
parent 109bc3979b
commit e49cd855c2
1 changed files with 2 additions and 0 deletions

View File

@ -703,6 +703,8 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags
window_flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
window_width = desktop_mode.w;
window_height = desktop_mode.h;
} else {
window_flags |= SDL_WINDOW_RESIZABLE;
}
if (sdl_window) {