mirror of
https://github.com/hannobraun/Fornjot
synced 2025-09-26 11:08:16 +00:00
Remove unused error variant
This commit is contained in:
parent
107a0c34c2
commit
0ed019fa58
@ -3,7 +3,6 @@ use std::{io, mem::size_of};
|
|||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
use tracing::debug;
|
use tracing::debug;
|
||||||
use wgpu::util::DeviceExt as _;
|
use wgpu::util::DeviceExt as _;
|
||||||
use wgpu_glyph::ab_glyph::InvalidFont;
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
camera::Camera,
|
camera::Camera,
|
||||||
@ -420,12 +419,6 @@ pub enum RendererInitError {
|
|||||||
/// See: [wgpu::RequestDeviceError](https://docs.rs/wgpu/latest/wgpu/struct.RequestDeviceError.html)
|
/// See: [wgpu::RequestDeviceError](https://docs.rs/wgpu/latest/wgpu/struct.RequestDeviceError.html)
|
||||||
#[error("Error requesting device: {0}")]
|
#[error("Error requesting device: {0}")]
|
||||||
RequestDevice(#[from] wgpu::RequestDeviceError),
|
RequestDevice(#[from] wgpu::RequestDeviceError),
|
||||||
|
|
||||||
/// Error loading font
|
|
||||||
///
|
|
||||||
/// See: [ab_glyph::InvalidFont](https://docs.rs/ab_glyph/latest/ab_glyph/struct.InvalidFont.html)
|
|
||||||
#[error("Error loading font: {0}")]
|
|
||||||
InvalidFont(#[from] InvalidFont),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Graphics rendering error
|
/// Graphics rendering error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user