From 7c2fd2932d26e3a530bc23a8a6901052617178da Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 15 Apr 2023 18:52:21 +0200 Subject: [PATCH] Remove GpuTexture2DHandle::invalid --- crates/re_renderer/src/resource_managers/texture_manager.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/re_renderer/src/resource_managers/texture_manager.rs b/crates/re_renderer/src/resource_managers/texture_manager.rs index b31f2e01f0dc6..400e575a6b424 100644 --- a/crates/re_renderer/src/resource_managers/texture_manager.rs +++ b/crates/re_renderer/src/resource_managers/texture_manager.rs @@ -17,12 +17,6 @@ use super::ResourceManagerError; #[derive(Clone)] pub struct GpuTexture2DHandle(Option); -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!