fix mistake

This commit is contained in:
Reonu 2024-04-25 00:59:55 +01:00
parent 9112d9270f
commit bd7e2aa1fd
2 changed files with 2 additions and 2 deletions

View file

@ -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_BORDERLESS);
SDL_SetWindowFullscreen(window,SDL_WINDOW_RESIZABLE);
}
#endif

View file

@ -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_BORDERLESS);
SDL_SetWindowFullscreen(window,SDL_WINDOW_RESIZABLE);
}
#endif
}