summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-25 19:52:30 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-26 19:02:05 +0200
commit881814077515605ab4f816530b81709663de50a2 (patch)
tree7efaee4c8191408a2ecbadcc6caacdeae8eb108b /ios
parent89d9b9e252f0584afb0e0d995c80c114697a7aa1 (diff)
Introduce temporary lo_set_view_size() hack like on Android and call it
Change-Id: I44df0946f59d1b9a2a6ea935b3c2ea3c96c1260d
Diffstat (limited to 'ios')
-rw-r--r--ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm b/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm
index f9678c4f7393..9f72b3543626 100644
--- a/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm
+++ b/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm
@@ -45,6 +45,8 @@ static UIWindow *theWindow;
self.window.pixelBuffer = pixelBuffer;
self.window.image = image;
+ lo_set_view_size(bounds.size.width, bounds.size.height);
+
[self.window makeKeyAndVisible];
NSThread* thread = [[NSThread alloc] initWithTarget:self