mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 13:38:35 +00:00
quick fix
This commit is contained in:
parent
5bdd4f819c
commit
76c74fbfc5
@ -276,7 +276,7 @@ impl Renderer {
|
||||
}
|
||||
|
||||
fn upload_font_texture(
|
||||
mut fonts: imgui::FontAtlasRefMut,
|
||||
fonts: &mut imgui::FontAtlas,
|
||||
ctx: &Rc<Context>,
|
||||
) -> Result<Texture, RendererError> {
|
||||
let texture = fonts.build_rgba32_texture();
|
||||
|
||||
@ -1042,7 +1042,7 @@ pub type RenderError = String;
|
||||
|
||||
fn prepare_font_atlas<T: TextureMap>(
|
||||
gl: &Context,
|
||||
mut fonts: imgui::FontAtlasRefMut,
|
||||
fonts: &mut imgui::FontAtlas,
|
||||
texture_map: &mut T,
|
||||
) -> Result<GlTexture, InitError> {
|
||||
#![allow(clippy::cast_possible_wrap)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user