Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
wgpu = "26.0.1"
wgpu = "27.0.1"
euclid = "0.22.7"
fontdue = "0.9.3"
rect_packer = "0.2.1"
Expand Down
5 changes: 3 additions & 2 deletions tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub async fn setup() -> (wgpu::Device, wgpu::Queue) {
required_limits: wgpu::Limits::default(),
memory_hints: wgpu::MemoryHints::Performance,
trace: wgpu::Trace::Off,
..Default::default()
})
.await
.expect("Unable to find a suitable GPU adapter!")
Expand All @@ -48,7 +49,7 @@ pub async fn create_png(
// In an actual application, `device.poll(...)` should
// be called in an event loop or on another thread.
device
.poll(wgpu::PollType::Wait)
.poll(wgpu::PollType::wait_indefinitely())
.expect("Failed to poll device");

// If a file system is available, write the buffer as a PNG
Expand Down Expand Up @@ -130,7 +131,7 @@ fn get_texture_data(
queue.submit(Some(command_buffer));

device
.poll(wgpu::PollType::Wait)
.poll(wgpu::PollType::wait_indefinitely())
.expect("Failed to poll device");

output_buffer
Expand Down