Skip to content

Commit

Permalink
Remove unsafe impl of Send and Sync for Painter
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Nov 7, 2023
1 parent 1a261ed commit 18f3fdb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/egui-wgpu/src/winit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ pub struct Painter {
surfaces: ViewportIdMap<SurfaceState>,
}

unsafe impl Send for Painter {}
unsafe impl Sync for Painter {}

impl Painter {
/// Manages [`wgpu`] state, including surface state, required to render egui.
///
Expand Down

0 comments on commit 18f3fdb

Please sign in to comment.