Rename SwapChainError to SurfaceError in iced_graphics
This commit is contained in:
parent
dda032c5b8
commit
acc47a5953
4 changed files with 9 additions and 9 deletions
|
|
@ -392,7 +392,7 @@ async fn run_instance<A, E, C>(
|
|||
}
|
||||
Err(error) => match error {
|
||||
// This is an unrecoverable error.
|
||||
window::SwapChainError::OutOfMemory => {
|
||||
window::SurfaceError::OutOfMemory => {
|
||||
panic!("{}", error);
|
||||
}
|
||||
_ => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue