From e5aa906b017fa38db1a526e6f585d98526d3d059 Mon Sep 17 00:00:00 2001 From: aloucks Date: Sat, 25 May 2019 17:23:54 -0400 Subject: [PATCH] Fix macos compile error in fullscreen example (#885) --- examples/fullscreen.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs index b1f271c0cb..e178ed1ec0 100644 --- a/examples/fullscreen.rs +++ b/examples/fullscreen.rs @@ -90,8 +90,8 @@ fn main() { #[cfg(target_os = "macos")] { - use winit::os::macos::WindowExt; - println!("window.get_simple_fullscreen {:?}", WindowExt::get_simple_fullscreen(&window)); + use winit::platform::macos::WindowExtMacOS; + println!("window.get_simple_fullscreen {:?}", WindowExtMacOS::get_simple_fullscreen(&window)); } } (VirtualKeyCode::M, ElementState::Pressed) => {