1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

Update to wgpu 0.14 (#2114)

This commit is contained in:
Andreas Reich
2022-10-06 15:50:46 +02:00
committed by GitHub
parent 3ec170cc1e
commit cd74c74f6f
5 changed files with 26 additions and 36 deletions

View File

@@ -40,7 +40,7 @@ egui = { version = "0.19.0", path = "../egui", default-features = false, feature
bytemuck = "1.7"
tracing = { version = "0.1", default-features = false, features = ["std"] }
type-map = "0.5.0"
wgpu = "0.13"
wgpu = "0.14"
#! ### Optional dependencies
## Enable this when generating docs.

View File

@@ -129,6 +129,7 @@ impl<'a> Painter<'a> {
width: width_in_pixels,
height: height_in_pixels,
present_mode: self.present_mode,
alpha_mode: wgpu::CompositeAlphaMode::Auto,
};
let surface_state = self