Rename SwapChainError to SurfaceError in iced_graphics

This commit is contained in:
Héctor Ramón Jiménez 2021-08-25 15:42:35 +07:00
parent dda032c5b8
commit acc47a5953
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 9 additions and 9 deletions

View file

@ -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);
}
_ => {