MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / apply_graphics_config

Function apply_graphics_config

src/ui/ui_config.cpp:181–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179#endif
180
181void apply_graphics_config(void) {
182 ultramodern::renderer::set_graphics_config(new_options);
183#if defined(__linux__) // TODO: Remove once RT64 gets native fullscreen support on Linux
184 if (new_options.wm_option == ultramodern::renderer::WindowMode::Fullscreen) {
185 SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP);
186 } else {
187 SDL_SetWindowFullscreen(window,0);
188 }
189#endif
190}
191
192void close_config_menu() {
193 if (ultramodern::renderer::get_graphics_config() != new_options) {

Callers 3

close_config_menuFunction · 0.85
register_eventsMethod · 0.85
toggle_fullscreenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected