diff options
author | 2021-08-25 15:42:35 +0700 | |
---|---|---|
committer | 2021-08-25 15:42:35 +0700 | |
commit | acc47a595300ff9bb9cae1e26c2d41135cde8ae8 (patch) | |
tree | 3880f5aeae3fc2a44d0022db4895bea217936ba2 /winit | |
parent | dda032c5b82c8dbc818e7bb6b0262644a4008995 (diff) | |
download | iced-acc47a595300ff9bb9cae1e26c2d41135cde8ae8.tar.gz iced-acc47a595300ff9bb9cae1e26c2d41135cde8ae8.tar.bz2 iced-acc47a595300ff9bb9cae1e26c2d41135cde8ae8.zip |
Rename `SwapChainError` to `SurfaceError` in `iced_graphics`
Diffstat (limited to 'winit')
-rw-r--r-- | winit/src/application.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<A, E, C>( } Err(error) => match error { // This is an unrecoverable error. - window::SwapChainError::OutOfMemory => { + window::SurfaceError::OutOfMemory => { panic!("{}", error); } _ => { |