mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Fix macos compile error in fullscreen example (#885)
This commit is contained in:
parent
4b0162a013
commit
e5aa906b01
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue