linux,Windows: fixed fullscreen

This commit is contained in:
kanjitalk755 2021-03-04 14:29:02 +09:00
parent ce3e2f3693
commit 7471c357c3
1 changed files with 2 additions and 2 deletions

View File

@ -730,11 +730,11 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags
}
#ifdef __MACOSX__
window_flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
window_width = desktop_mode.w;
window_height = desktop_mode.h;
#else
window_flags |= SDL_WINDOW_FULLSCREEN;
#endif
window_width = desktop_mode.w;
window_height = desktop_mode.h;
}
if (sdl_window) {