diff --git a/imgui-glium-renderer/src/lib.rs b/imgui-glium-renderer/src/lib.rs index 723fae9..eddc659 100644 --- a/imgui-glium-renderer/src/lib.rs +++ b/imgui-glium-renderer/src/lib.rs @@ -276,7 +276,7 @@ impl Renderer { } fn upload_font_texture( - mut fonts: imgui::FontAtlasRefMut, + fonts: &mut imgui::FontAtlas, ctx: &Rc, ) -> Result { let texture = fonts.build_rgba32_texture(); diff --git a/imgui-glow-renderer/src/lib.rs b/imgui-glow-renderer/src/lib.rs index eacdd90..87fd214 100644 --- a/imgui-glow-renderer/src/lib.rs +++ b/imgui-glow-renderer/src/lib.rs @@ -1042,7 +1042,7 @@ pub type RenderError = String; fn prepare_font_atlas( gl: &Context, - mut fonts: imgui::FontAtlasRefMut, + fonts: &mut imgui::FontAtlas, texture_map: &mut T, ) -> Result { #![allow(clippy::cast_possible_wrap)]