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 {
|
Err(error) => match error {
|
||||||
// This is an unrecoverable error.
|
// This is an unrecoverable error.
|
||||||
compositor::SurfaceError::OutOfMemory => {
|
compositor::SurfaceError::OutOfMemory => {
|
||||||
panic!("{:?}", error);
|
panic!("{error}");
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
debug.render_finished();
|
debug.render_finished();
|
||||||
|
|
||||||
log::error!(
|
log::warn!(
|
||||||
"Error {error:?} when \
|
"Error {error:?} when presenting surface."
|
||||||
presenting surface."
|
|
||||||
);
|
);
|
||||||
|
|
||||||
// Try rendering all windows again next frame.
|
// Try rendering all windows again next frame.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue