summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-22 21:11:02 +0200
committerGitHub <noreply@github.com>2019-07-22 21:11:02 +0200
commita36e09f39881fee2fe2da7ed89b76330202834bf (patch)
treedf0525cfa46984922e82a4ee4adf645756bfc0df /platform
parent5dae2ea777da5395cf1b1e9a8bc6abc93f6ae6bb (diff)
parent77724fde60f683352f102b82a815cc84667ebdf5 (diff)
Merge pull request #30759 from akien-mga/ios-camera-type-mismatch
Fix type mismatch in iOS interface orientation checks
Diffstat (limited to 'platform')
-rw-r--r--platform/iphone/camera_ios.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/camera_ios.mm b/platform/iphone/camera_ios.mm
index 029ce6debf..ff84df66ff 100644
--- a/platform/iphone/camera_ios.mm
+++ b/platform/iphone/camera_ios.mm
@@ -158,7 +158,7 @@
} else if (dataCbCr == NULL) {
print_line("Couldn't access CbCr pixel buffer data");
} else {
- UIDeviceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
+ UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
Ref<Image> img[2];
{