pub fn imgui_init(
    resources: &mut Resources,
    sdl2_window: &sdl2::video::Window,
) {
    // Load imgui, we do it a little early because it wants to have the actual SDL2 window and
    // doesn't work with the thin window wrapper
    let imgui_manager = crate::imgui_support::init_imgui_manager(sdl2_window);
    resources.insert(imgui_manager);
}
// Should occur *before* the renderer starts
Should occur *before* the renderer starts
Should occur * before * the renderer starts
pub fn imgui_init(
    resources: &mut Resources,
    sdl2_window: &sdl2::video::Window,
) {
    // Load imgui, we do it a little early because it wants to have the actual SDL2 window and
    // doesn't work with the thin window wrapper
    let imgui_manager = crate::imgui_support::init_imgui_manager(sdl2_window);
    resources.insert(imgui_manager);
}
pub fn imgui_init ( resources : & mut Resources , sdl2_window : & sdl2 :: video :: Window , ) { // Load imgui, we do it a little early because it wants to have the actual SDL2 window and // doesn't work with the thin window wrapper let imgui_manager = crate :: imgui_support :: init_imgui_manager ( sdl2_window ) ; resources . insert ( imgui_manager ) ; }
Should occur *before* the renderer starts
Should occur * before * the renderer starts
resources
&mut Resources
sdl2_window
&sdl2::video::Window
resources
&mut Resources
sdl2_window
&sdl2::video::Window