1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Wgpu resources are no longer wrapped in Arc (since they are now Clone) (#5612)

Co-authored-by: Nicolas <bircni@icloud.com>
This commit is contained in:
Andreas Reich
2025-01-20 18:06:35 +01:00
committed by GitHub
parent cf965aaa30
commit 30e66e4575
6 changed files with 37 additions and 45 deletions

View File

@@ -27,7 +27,7 @@ pub struct Painter {
depth_format: Option<wgpu::TextureFormat>,
screen_capture_state: Option<CaptureState>,
instance: Arc<wgpu::Instance>,
instance: wgpu::Instance,
render_state: Option<RenderState>,
// Per viewport/window: