mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-25 08:28:42 -06:00
upd log
This commit is contained in:
parent
a09a25ba73
commit
551dd343ac
|
@ -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