Remove mention of deprecated glow_canvas feature in README

This commit is contained in:
Héctor Ramón Jiménez 2022-03-23 17:34:11 +07:00
parent 0eef527fa5
commit e66a79fb9c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -200,29 +200,27 @@ end-user-oriented GUI library, while keeping [the ecosystem] modular:
[`ggez`]: https://github.com/ggez/ggez [`ggez`]: https://github.com/ggez/ggez
[the ecosystem]: ECOSYSTEM.md [the ecosystem]: ECOSYSTEM.md
## Common problems ## Troubleshooting
### `GraphicsAdapterNotFound`
This occurs when the selected [built-in renderer] is not able to create a context.
1. `Error: GraphicsAdapterNotFound` Often this will occur while using [`iced_wgpu`] as the renderer without
supported hardware (needs Vulkan, Metal or DX12). In this case, you could try using the
[`iced_glow`] renderer:
This occurs when the selected [built-in renderer] is not able to create a context. First, check if it works with
```console
$ cargo run --features iced/glow --package game_of_life
```
Often this will occur while using [`iced_wgpu`] as the renderer without and then use it in your project with
supported hardware (needs Vulkan, Metal or DX12). In this case, you could try using the ```toml
[`iced_glow`] renderer: iced = { version = "0.3", default-features = false, features = ["glow"] }
```
First, check if it works with **NOTE:** Chances are you have hardware that supports at least OpenGL 2.1 or OpenGL ES 2.0,
```console but if you don't, right now there's no software fallback, so it means your hardware
$ cargo run --features "iced/glow iced/glow_canvas" --package game_of_life doesn't support Iced.
```
and then use it in your project with
```toml
iced = { version = "0.3", default-features = false, features = ["glow"] }
```
**NOTE:** Chances are you have hardware that supports at least OpenGL 2.1 or OpenGL ES 2.0,
but if you don't, right now there's no software fallback, so it means your hardware
doesn't support Iced.
[built-in renderer]: https://github.com/hecrj/iced/blob/master/ECOSYSTEM.md#Renderers [built-in renderer]: https://github.com/hecrj/iced/blob/master/ECOSYSTEM.md#Renderers