Remove deprecated error variants
This commit is contained in:
parent
337241c866
commit
2ec303812f
1 changed files with 0 additions and 6 deletions
|
@ -41,10 +41,6 @@ pub struct PixelsOptions {
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
/// No suitable Adapter found
|
/// No suitable Adapter found
|
||||||
AdapterNotFound,
|
AdapterNotFound,
|
||||||
/// Vertex shader is invalid SPIR-V
|
|
||||||
VertexShaderInvalid,
|
|
||||||
/// Fragment shader is invalid SPIR-V
|
|
||||||
FragmentShaderInvalid,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
@ -303,8 +299,6 @@ impl StdError for Error {
|
||||||
fn description(&self) -> &str {
|
fn description(&self) -> &str {
|
||||||
match self {
|
match self {
|
||||||
Error::AdapterNotFound => "No suitable Adapter found",
|
Error::AdapterNotFound => "No suitable Adapter found",
|
||||||
Error::VertexShaderInvalid => "Vertex shader is invalid SPIR-V",
|
|
||||||
Error::FragmentShaderInvalid => "Fragment shader is invalid SPIR-V",
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue