remove unnecessary trait

This commit is contained in:
awtterpip
2024-02-18 21:18:38 -06:00
parent 80d6cadadf
commit bda328f434

View File

@@ -6,11 +6,6 @@ use crate::openxr::resources::*;
use crate::openxr::types::{AppInfo, Result, XrError}; use crate::openxr::types::{AppInfo, Result, XrError};
use crate::types::BlendMode; use crate::types::BlendMode;
trait GraphicWrapper {
type Inner<T: GraphicsExt>;
type Func: Fn();
}
pub trait GraphicsExt: openxr::Graphics { pub trait GraphicsExt: openxr::Graphics {
fn from_wgpu_format(format: wgpu::TextureFormat) -> Option<Self::Format>; fn from_wgpu_format(format: wgpu::TextureFormat) -> Option<Self::Format>;
fn to_wgpu_format(format: Self::Format) -> Option<wgpu::TextureFormat>; fn to_wgpu_format(format: Self::Format) -> Option<wgpu::TextureFormat>;