mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 07:08:42 -06:00
upd log
This commit is contained in:
parent
c91e6ba50c
commit
93f94a0786
|
@ -132,7 +132,7 @@ impl GliumUiRenderer {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn update_buffers(&mut self, call: &UiDrawCall) {
|
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::<Vec<_>>()[..];
|
let data_vtx = &call.vertices.iter().copied().map(Vertex::from).collect::<Vec<_>>()[..];
|
||||||
let data_idx = &call.indices[..];
|
let data_idx = &call.indices[..];
|
||||||
if let Some(buffer) = &mut self.buffer_pair {
|
if let Some(buffer) = &mut self.buffer_pair {
|
||||||
|
|
Loading…
Reference in a new issue