diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-22 21:11:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-22 21:11:02 +0200 |
commit | a36e09f39881fee2fe2da7ed89b76330202834bf (patch) | |
tree | df0525cfa46984922e82a4ee4adf645756bfc0df /platform | |
parent | 5dae2ea777da5395cf1b1e9a8bc6abc93f6ae6bb (diff) | |
parent | 77724fde60f683352f102b82a815cc84667ebdf5 (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.mm | 2 |
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]; { |