From acc47a595300ff9bb9cae1e26c2d41135cde8ae8 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 25 Aug 2021 15:42:35 +0700 Subject: Rename `SwapChainError` to `SurfaceError` in `iced_graphics` --- winit/src/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winit') diff --git a/winit/src/application.rs b/winit/src/application.rs index 9a86644c..b683e592 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -392,7 +392,7 @@ async fn run_instance( } Err(error) => match error { // This is an unrecoverable error. - window::SwapChainError::OutOfMemory => { + window::SurfaceError::OutOfMemory => { panic!("{}", error); } _ => { -- cgit