Remove unsafe impl of Send and Sync for Painter

This commit is contained in:
Emil Ernerfeldt
2023-11-07 15:57:42 +01:00
parent 1a261ed520
commit 18f3fdb61c
-3
View File
@@ -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.
///