From 93f94a0786dfbd74425ddf64e7186e6fdf07a823 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Fri, 1 Mar 2024 18:45:56 +0100 Subject: [PATCH] upd log --- hui-glium/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hui-glium/src/lib.rs b/hui-glium/src/lib.rs index ade2336..6b39483 100644 --- a/hui-glium/src/lib.rs +++ b/hui-glium/src/lib.rs @@ -132,7 +132,7 @@ impl GliumUiRenderer { } fn update_buffers(&mut self, call: &UiDrawCall) { - log::trace!("updating ui buffers (i={})", call.indices.len()); + log::trace!("updating ui buffers (tris: {})", call.indices.len() / 3); let data_vtx = &call.vertices.iter().copied().map(Vertex::from).collect::>()[..]; let data_idx = &call.indices[..]; if let Some(buffer) = &mut self.buffer_pair {