Introduce Error::ContextCreationFailed
This commit is contained in:
parent
a33e320521
commit
1e62fdf069
5 changed files with 39 additions and 18 deletions
|
|
@ -105,7 +105,7 @@ impl iced_graphics::window::Compositor for Compositor {
|
|||
settings,
|
||||
compatible_window,
|
||||
))
|
||||
.ok_or(Error::AdapterNotFound)?;
|
||||
.ok_or(Error::GraphicsAdapterNotFound)?;
|
||||
|
||||
let backend = compositor.create_backend();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue