mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-14 06:58:35 +00:00
Fix lint
This commit is contained in:
parent
6858d09a17
commit
10eb51260e
@ -602,7 +602,7 @@ impl TextureMap for TrivialTextureMap {
|
||||
/// `Textures` from the `imgui` crate is a simple choice for a texture map
|
||||
impl TextureMap for imgui::Textures<glow::Texture> {
|
||||
fn gl_texture(&self, imgui_texture: imgui::TextureId) -> Option<glow::Texture> {
|
||||
self.get(imgui_texture).cloned()
|
||||
self.get(imgui_texture).copied()
|
||||
}
|
||||
|
||||
fn register(&mut self, gl_texture: glow::Texture) -> Option<imgui::TextureId> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user