mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-16 13:30:31 +00:00
test fullscreen for Linux and Windows
This commit is contained in:
parent
e90180a2c3
commit
81bdda2a5b
@ -734,13 +734,9 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags
|
|||||||
shutdown_sdl_video();
|
shutdown_sdl_video();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#ifdef __MACOSX__
|
|
||||||
window_flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
|
window_flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
|
||||||
window_width = desktop_mode.w;
|
window_width = desktop_mode.w;
|
||||||
window_height = desktop_mode.h;
|
window_height = desktop_mode.h;
|
||||||
#else
|
|
||||||
window_flags |= SDL_WINDOW_FULLSCREEN;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sdl_window) {
|
if (sdl_window) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user