mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-05-01 06:31:37 +00:00
use right window type
This commit is contained in:
parent
bd7e2aa1fd
commit
4783f3f51a
2 changed files with 2 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ ultramodern::WindowHandle create_window(ultramodern::gfx_callbacks_t::gfx_data_t
|
|||
if (ultramodern::get_graphics_config().wm_option == ultramodern::WindowMode::Fullscreen) { // TODO: Remove once RT64 gets native fullscreen support on Linux
|
||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||
} else {
|
||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_RESIZABLE);
|
||||
SDL_SetWindowFullscreen(window,0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ void apply_graphics_config(void) {
|
|||
if (new_options.wm_option == ultramodern::WindowMode::Fullscreen) {
|
||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||
} else {
|
||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_RESIZABLE);
|
||||
SDL_SetWindowFullscreen(window,0);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue