Skip to content

Commit d4b7222

Browse files
committed
fixed screen_orientation not being assigned on ios
1 parent a3b42d8 commit d4b7222

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/apple_embedded/display_server_apple_embedded.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@
662662
int screen_count = get_screen_count();
663663
ERR_FAIL_INDEX(p_screen, screen_count);
664664

665+
screen_orientation = p_orientation;
665666
if (@available(iOS 16.0, *)) {
666667
[GDTAppDelegateService.viewController setNeedsUpdateOfSupportedInterfaceOrientations];
667668
}

0 commit comments

Comments
 (0)