test fullscreen for Linux and Windows

This commit is contained in:
kanjitalk755 2023-08-21 10:02:15 +09:00
parent e90180a2c3
commit 81bdda2a5b

View File

@ -734,13 +734,9 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags
shutdown_sdl_video();
return NULL;
}
#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
}
if (sdl_window) {