mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
use the host-OS' desktop resolution, when entering full-screen. This enables use of Mac OS X's "Spaces" feature, when going to fullscreen.
This commit is contained in:
parent
cb982ee2ed
commit
1d5b8e95af
@ -689,7 +689,7 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags
|
||||
shutdown_sdl_video();
|
||||
return NULL;
|
||||
}
|
||||
window_flags |= SDL_WINDOW_FULLSCREEN;
|
||||
window_flags |= SDL_WINDOW_FULLSCREEN_DESKTOP;
|
||||
window_width = desktop_mode.w;
|
||||
window_height = desktop_mode.h;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user