mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Change Arc<glow::Context> to Rc<glow::Context> (#3598)
This is required for Rust 1.72 (for unknown reasons; see https://github.com/emilk/egui/pull/3595), but also for updating to glow 0.13, where the `glow::Context` is not longer `Sync+Send`
This commit is contained in:
@@ -152,7 +152,7 @@ fn main() {
|
||||
|
||||
let event_loop = winit::event_loop::EventLoopBuilder::<UserEvent>::with_user_event().build();
|
||||
let (gl_window, gl) = create_display(&event_loop);
|
||||
let gl = std::sync::Arc::new(gl);
|
||||
let gl = std::rc::Rc::new(gl);
|
||||
|
||||
let mut egui_glow = egui_glow::EguiGlow::new(&event_loop, gl.clone(), None, None);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user