Skip to content

Commit dbc9a88

Browse files
committed
upgrade wgpu to 0.14.0
1 parent 851f6f0 commit dbc9a88

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bracket-terminal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ultraviolet = "~0.9"
3131
parking_lot = { version = "~0.12" }
3232
ctrlc = { version = "~3.2", optional=true }
3333
anyhow = "~1.0"
34-
wgpu = { version = "0.13", optional=true }
34+
wgpu = { version = "0.14.0", optional=true }
3535
pollster = { version = "0.2", optional=true }
3636
bytemuck = {version = "1.4.0", optional=true }
3737

bracket-terminal/src/hal/webgpu/init.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ async fn init_adapter(
152152
width: size.width,
153153
height: size.height,
154154
present_mode: wgpu::PresentMode::Fifo,
155+
alpha_mode: wgpu::CompositeAlphaMode::Auto,
155156
};
156157
surface.configure(&device, &config);
157158

0 commit comments

Comments
 (0)