Merge pull request #2065 from iced-rs/update-wgpu

Update `wgpu` to `0.17`
This commit is contained in:
Héctor Ramón 2023-09-03 00:44:31 +02:00 committed by GitHub
commit 52b3f69e35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 4 deletions

View file

@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Changed
- Updated `wgpu` to `0.17`. [#2065](https://github.com/iced-rs/iced/pull/2065)
Many thanks to...
- Add your <name> here
## [0.10.0] - 2023-07-28
### Added

View file

@ -82,7 +82,6 @@ pub fn main() -> Result<(), Box<dyn std::error::Error>> {
futures::futures::executor::block_on(async {
let adapter = wgpu::util::initialize_adapter_from_env_or_default(
&instance,
backend,
Some(&surface),
)
.await

View file

@ -14,8 +14,8 @@ svg = ["resvg"]
web-colors = ["iced_graphics/web-colors"]
[dependencies]
wgpu = "0.16"
glyphon = "0.3"
wgpu = "0.17"
glyphon = { git = "https://github.com/grovesNL/glyphon.git", rev = "20f0f8fa80e0d0df4c63634ce9176fa489546ca9" }
raw-window-handle = "0.5"
guillotiere = "0.6"
futures = "0.3"
@ -25,7 +25,7 @@ rustc-hash = "1.1"
log = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "0.16", features = ["webgl"] }
wgpu = { version = "0.17", features = ["webgl"] }
[dependencies.twox-hash]
version = "1.6"