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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user