mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
wgpu upgraded to 0.15. demo working on linux (#2629)
This commit is contained in:
@@ -554,6 +554,7 @@ impl Renderer {
|
||||
dimension: wgpu::TextureDimension::D2,
|
||||
format: wgpu::TextureFormat::Rgba8UnormSrgb, // Minspec for wgpu WebGL emulation is WebGL2, so this should always be supported.
|
||||
usage: wgpu::TextureUsages::TEXTURE_BINDING | wgpu::TextureUsages::COPY_DST,
|
||||
view_formats: &[wgpu::TextureFormat::Rgba8UnormSrgb],
|
||||
});
|
||||
let sampler = self
|
||||
.samplers
|
||||
|
||||
Reference in New Issue
Block a user