diff --git a/wgpu-core/src/device/life.rs b/wgpu-core/src/device/life.rs index 168d04c1e0..cbe55caf40 100644 --- a/wgpu-core/src/device/life.rs +++ b/wgpu-core/src/device/life.rs @@ -326,9 +326,6 @@ impl LifetimeTracker { .destroyed_buffers .insert(destroyed.tracker_index, destroyed); } - TempResource::Texture(raw) => { - last_resources.textures.insert(raw.tracker_index(), raw); - } TempResource::DestroyedTexture(destroyed) => { last_resources .destroyed_textures @@ -433,9 +430,6 @@ impl LifetimeTracker { .destroyed_buffers .insert(destroyed.tracker_index, destroyed); } - TempResource::Texture(raw) => { - resources.textures.insert(raw.tracker_index(), raw); - } TempResource::DestroyedTexture(destroyed) => { resources .destroyed_textures diff --git a/wgpu-core/src/device/queue.rs b/wgpu-core/src/device/queue.rs index 9949b5242f..59d46ac0ec 100644 --- a/wgpu-core/src/device/queue.rs +++ b/wgpu-core/src/device/queue.rs @@ -148,7 +148,6 @@ pub enum TempResource { StagingBuffer(Arc>), DestroyedBuffer(Arc>), DestroyedTexture(Arc>), - Texture(Arc>), } /// A series of raw [`CommandBuffer`]s that have been submitted to a