From c292988e45b2dbff382c27ee86860d5c8246c168 Mon Sep 17 00:00:00 2001 From: awtterpip Date: Tue, 27 Feb 2024 22:47:07 -0600 Subject: [PATCH] remove unused function --- src/openxr/graphics.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/openxr/graphics.rs b/src/openxr/graphics.rs index 74cf9ee..2680035 100644 --- a/src/openxr/graphics.rs +++ b/src/openxr/graphics.rs @@ -66,17 +66,6 @@ impl GraphicsWrap { pub fn using_graphics_of_val(&self, other: &GraphicsWrap) -> bool { self.graphics_type() == other.graphics_type() } - - pub fn as_type(&self) -> Result<&T::Inner> { - // graphics_match!( - // self; - // inner => if TypeId::of:: == TypeId::of:: { - // return Ok(inner) - // } - // ); - - return Err(XrError::FailedGraphicsRequirements); - } } pub trait GraphicsType {