mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
wgpu implementation for viewport sync
This commit is contained in:
@@ -88,6 +88,9 @@ pub struct Painter {
|
||||
surfaces: HashMap<u64, SurfaceState>,
|
||||
}
|
||||
|
||||
unsafe impl Send for Painter {}
|
||||
unsafe impl Sync for Painter {}
|
||||
|
||||
impl Painter {
|
||||
/// Manages [`wgpu`] state, including surface state, required to render egui.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user