* Reimplement NativeDisplayMode on iOS for #1310 * Type annotations from code review. Co-Authored-By: Aleksi Juvani <3168386+aleksijuvani@users.noreply.github.com> Co-authored-by: Aleksi Juvani <3168386+aleksijuvani@users.noreply.github.com>
This commit is contained in:
parent
82889e2367
commit
c10c820311
2 changed files with 28 additions and 13 deletions
|
|
@ -497,7 +497,7 @@ pub unsafe fn create_window(
|
|||
match window_attributes.fullscreen {
|
||||
Some(Fullscreen::Exclusive(ref video_mode)) => {
|
||||
let uiscreen = video_mode.monitor().ui_screen() as id;
|
||||
let () = msg_send![uiscreen, setCurrentMode: video_mode.video_mode.screen_mode];
|
||||
let () = msg_send![uiscreen, setCurrentMode: video_mode.video_mode.screen_mode.0];
|
||||
msg_send![window, setScreen:video_mode.monitor().ui_screen()]
|
||||
}
|
||||
Some(Fullscreen::Borderless(ref monitor)) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue