Fixes #134 and #135 with a slight hit on performances as get_or_assign_index will now always assign (#247)
This commit is contained in:
parent
2dadc86fb0
commit
4eb437ab2e
@ -90,6 +90,8 @@ where
|
||||
for buffer_status in self.uniform_arrays.iter_mut() {
|
||||
if let Some((_name, buffer_status)) = buffer_status {
|
||||
buffer_status.changed_item_count = 0;
|
||||
buffer_status.current_index = 0;
|
||||
buffer_status.indices.clear();
|
||||
buffer_status.current_offset = 0;
|
||||
buffer_status.changed_size = 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user