mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-28 17:53:40 +00:00
remove unused TempResource::Texture
This commit is contained in:
parent
7c51bb4a13
commit
bd2b284a26
@ -326,9 +326,6 @@ impl<A: HalApi> LifetimeTracker<A> {
|
||||
.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<A: HalApi> LifetimeTracker<A> {
|
||||
.destroyed_buffers
|
||||
.insert(destroyed.tracker_index, destroyed);
|
||||
}
|
||||
TempResource::Texture(raw) => {
|
||||
resources.textures.insert(raw.tracker_index(), raw);
|
||||
}
|
||||
TempResource::DestroyedTexture(destroyed) => {
|
||||
resources
|
||||
.destroyed_textures
|
||||
|
@ -148,7 +148,6 @@ pub enum TempResource<A: HalApi> {
|
||||
StagingBuffer(Arc<StagingBuffer<A>>),
|
||||
DestroyedBuffer(Arc<DestroyedBuffer<A>>),
|
||||
DestroyedTexture(Arc<DestroyedTexture<A>>),
|
||||
Texture(Arc<Texture<A>>),
|
||||
}
|
||||
|
||||
/// A series of raw [`CommandBuffer`]s that have been submitted to a
|
||||
|
Loading…
Reference in New Issue
Block a user