Skip to content

Commit

Permalink
Fix macos compile error in fullscreen example (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloucks authored and goddessfreya committed May 25, 2019
1 parent 4b0162a commit e5aa906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/fullscreen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit e5aa906

Please sign in to comment.