Skip to content

Commit

Permalink
Fixes #134 and #135 with a slight hit on performances as get_or_assig…
Browse files Browse the repository at this point in the history
…n_index will now always assign (#247)
  • Loading branch information
BorisBoutillier committed Aug 22, 2020
1 parent 2dadc86 commit 4eb437a
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4eb437a

Please sign in to comment.