Skip to content

Commit

Permalink
Remove GpuTexture2DHandle::invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Apr 15, 2023
1 parent d80d156 commit 7c2fd29
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions crates/re_renderer/src/resource_managers/texture_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ use super::ResourceManagerError;
#[derive(Clone)]
pub struct GpuTexture2DHandle(Option<GpuTexture>);

impl GpuTexture2DHandle {
pub fn invalid() -> Self {
Self(None)
}
}

/// Data required to create a texture 2d resource.
///
/// It is *not* stored along side the resulting texture resource!
Expand Down

0 comments on commit 7c2fd29

Please sign in to comment.