mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-21 02:29:06 +00:00
made windowed-mode windows be resize-able/scale-able - guest OS display size is retained, though
This commit is contained in:
parent
109bc3979b
commit
e49cd855c2
@ -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_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_RESIZABLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sdl_window) {
|
if (sdl_window) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user