Downgrade presentation error! to warn! in iced_winit
This commit is contained in:
parent
892ac1ce72
commit
9c1edc3d78
1 changed files with 3 additions and 4 deletions
|
|
@ -900,14 +900,13 @@ async fn run_instance<P, C>(
|
|||
Err(error) => match error {
|
||||
// This is an unrecoverable error.
|
||||
compositor::SurfaceError::OutOfMemory => {
|
||||
panic!("{:?}", error);
|
||||
panic!("{error}");
|
||||
}
|
||||
_ => {
|
||||
debug.render_finished();
|
||||
|
||||
log::error!(
|
||||
"Error {error:?} when \
|
||||
presenting surface."
|
||||
log::warn!(
|
||||
"Error {error:?} when presenting surface."
|
||||
);
|
||||
|
||||
// Try rendering all windows again next frame.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue