From ac497b06516ea2fb8ad2e8ddce90d6530ae4a65e Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Wed, 22 Nov 2023 14:38:15 +0100 Subject: [PATCH] log when uploading ui buffers --- kubi-ui/src/backend/glium.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/kubi-ui/src/backend/glium.rs b/kubi-ui/src/backend/glium.rs index 421b5dd..5230094 100644 --- a/kubi-ui/src/backend/glium.rs +++ b/kubi-ui/src/backend/glium.rs @@ -68,6 +68,7 @@ impl GliumUiRenderer { } fn write_buffer_data(&mut self, vtx: &[Vertex], idx: &[u32]) { + log::info!("uploading {} vertices and {} indices", vtx.len(), idx.len()); self.ensure_buffer_size(vtx.len(), idx.len()); self.vertex_buffer.invalidate(); self.vertex_buffer.slice_mut(0..vtx.len()).unwrap().write(vtx);