From ac4999eff362bd2be22389dd33eeb4be712de06f Mon Sep 17 00:00:00 2001 From: David Chavez Date: Tue, 27 Jun 2023 19:39:44 +0200 Subject: [PATCH] Fix compilation error --- src/gui/gui_glium.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui_glium.rs b/src/gui/gui_glium.rs index 788ff26..25995d9 100644 --- a/src/gui/gui_glium.rs +++ b/src/gui/gui_glium.rs @@ -270,7 +270,7 @@ impl<'a> Gui<'a> { ); // loop through textures and bind them - for (index, hash) in draw_call.textures.iter().enumerate() { + for (index, hash) in draw_call.texture_indices.iter().enumerate() { if let Some(hash) = hash { let texture = self.rcp_output.texture_cache.get_mut(*hash).unwrap(); self.graphics_device