Skip to content

Commit a6551f4

Browse files
goddessfreyaOsspial
authored andcommitted
Fix example
Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
1 parent cbfda6c commit a6551f4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/fullscreen.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,11 @@ fn main() {
7070
#[cfg(target_os = "macos")]
7171
{
7272
if macos_use_simple_fullscreen {
73-
use winit::os::macos::WindowExt;
74-
if WindowExt::set_simple_fullscreen(&window, !is_fullscreen) {
73+
use winit::platform::macos::WindowExtMacOS;
74+
if WindowExtMacOS::set_simple_fullscreen(&window, !is_fullscreen) {
7575
is_fullscreen = !is_fullscreen;
7676
}
77-
78-
return ControlFlow::Continue;
77+
return;
7978
}
8079
}
8180

0 commit comments

Comments
 (0)