Fixed issue with offsets not being reset properly leading to borked draws.
This commit is contained in:
parent
30432cbade
commit
e540b7f642
2 changed files with 10 additions and 2 deletions
|
|
@ -241,6 +241,9 @@ impl Pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
self.vertex_buffer.clear();
|
||||
self.index_buffer.clear();
|
||||
|
||||
if let Some(blit) = &mut self.blit {
|
||||
blit.draw(encoder, target);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue