mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-30 22:21:37 +00:00
fix mistake
This commit is contained in:
parent
9112d9270f
commit
bd7e2aa1fd
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
|
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);
|
SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||||
} else {
|
} else {
|
||||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_BORDERLESS);
|
SDL_SetWindowFullscreen(window,SDL_WINDOW_RESIZABLE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -197,7 +197,7 @@ void apply_graphics_config(void) {
|
||||||
if (new_options.wm_option == ultramodern::WindowMode::Fullscreen) {
|
if (new_options.wm_option == ultramodern::WindowMode::Fullscreen) {
|
||||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP);
|
SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||||
} else {
|
} else {
|
||||||
SDL_SetWindowFullscreen(window,SDL_WINDOW_BORDERLESS);
|
SDL_SetWindowFullscreen(window,SDL_WINDOW_RESIZABLE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue