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

Update wgpu to 27.0.0 (#7580)

This commit is contained in:
Andreas Reich
2025-10-03 09:54:46 +02:00
committed by GitHub
parent 096ed1c0cb
commit 427c0766fd
6 changed files with 78 additions and 51 deletions

View File

@@ -179,15 +179,13 @@ impl Default for WgpuSetupCreateNew {
wgpu::DeviceDescriptor {
label: Some("egui wgpu device"),
required_features: wgpu::Features::default(),
required_limits: wgpu::Limits {
// When using a depth buffer, we have to be able to create a texture
// large enough for the entire surface, and we want to support 4k+ displays.
max_texture_dimension_2d: 8192,
..base_limits
},
memory_hints: wgpu::MemoryHints::default(),
trace: wgpu::Trace::Off,
..Default::default()
}
}),
}