Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Jun 27, 2023
1 parent da50140 commit ac4999e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/gui_glium.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac4999e

Please sign in to comment.