From 76c74fbfc5177326b65ef1a221daa04221147916 Mon Sep 17 00:00:00 2001 From: Jack Mac Date: Thu, 30 Sep 2021 18:33:00 -0400 Subject: [PATCH] quick fix --- imgui-glium-renderer/src/lib.rs | 2 +- imgui-glow-renderer/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)]