mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 17:44:09 +01:00
suspect all the future suspects (#5413)
* suspect all the future suspects * changelog
This commit is contained in:
1 parent
95dc7e5991
commit
a4942a4b93
1 file changed
+2
-2
@@ -309,10 +309,10 @@ impl<A: HalApi> LifetimeTracker<A> {
|
||||
}
|
||||
|
||||
pub fn post_submit(&mut self) {
|
||||
for v in self.future_suspected_buffers.drain(..).take(1) {
|
||||
for v in self.future_suspected_buffers.drain(..) {
|
||||
self.suspected_resources.buffers.insert(v.as_info().id(), v);
|
||||
}
|
||||
for v in self.future_suspected_textures.drain(..).take(1) {
|
||||
for v in self.future_suspected_textures.drain(..) {
|
||||
self.suspected_resources
|
||||
.textures
|
||||
.insert(v.as_info().id(), v);
|
||||
|
||||
Reference in new issue
Block a user