diff options
-rw-r--r-- | backends/platform/ios7/ios7_video.mm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm index 191faa806b..235f8f28f1 100644 --- a/backends/platform/ios7/ios7_video.mm +++ b/backends/platform/ios7/ios7_video.mm @@ -132,7 +132,15 @@ uint getSizeNextPOT(uint size) { uint overlayWidth = MAX(_renderBufferWidth, _renderBufferHeight); uint overlayHeight = MIN(_renderBufferWidth, _renderBufferHeight); - if (!iOS7_isBigDevice()) { + if (iOS7_isBigDevice()) { + // On really big displays, like the iPad Pro, we scale the interface down + // so that the controls are not too small.. + while (overlayHeight > 1024) { + overlayWidth /= 2; + overlayHeight /= 2; + } + } + else { // On small devices, we force the user interface to use the small theme while (overlayHeight > 480) { overlayWidth /= 2; |