diff --git a/Cargo.toml b/Cargo.toml index 5fbf1c8..bc591ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_overlay" -version = "0.5.1" +version = "0.5.2" edition = "2021" license = "MIT" description = "Egui integration to easily create Desktop Overlays" diff --git a/src/lib.rs b/src/lib.rs index 5ea5293..ee635d8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,7 @@ pub fn start(user_data: T) { #[cfg(not(target_os = "macos"))] opengl_window: Some(true), #[cfg(target_os = "macos")] - opengl_window: Some(true), + opengl_window: Some(false), transparent_window: Some(true), ..Default::default() }); @@ -47,7 +47,7 @@ pub fn start(user_data: T) { egui_render_wgpu::WgpuConfig { ..Default::default() }, - Some(&glfw.window), + Some(&glfw_backend.window), latest_size, ); let overlap_app = OverlayApp {