chore: update dependencies and examples

This commit is contained in:
Vukašin Vojinović 2026-03-18 15:54:07 +01:00 committed by GitHub
parent 6c6d16d34a
commit 54bcb9ec12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 76 additions and 87 deletions

View file

@ -49,8 +49,8 @@ pub fn windowing_system() -> Option<WindowingSystem> {
WINDOWING_SYSTEM.get().copied()
}
fn init_windowing_system<M>(handle: raw_window_handle::WindowHandle) -> crate::Action<M> {
let raw: &raw_window_handle::RawWindowHandle = handle.as_ref();
fn init_windowing_system<M>(handle: window::raw_window_handle::WindowHandle) -> crate::Action<M> {
let raw = handle.as_ref();
let system = match raw {
window::raw_window_handle::RawWindowHandle::UiKit(_) => WindowingSystem::UiKit,
window::raw_window_handle::RawWindowHandle::AppKit(_) => WindowingSystem::AppKit,