pub fn change_render_mode(
    new_render_mode: RenderMode,
    window: &mut Window,
    settings: &mut Settings
)