diff --git a/Natives/ViewController.m b/Natives/ViewController.m index 1f1c2549..e9a87f28 100644 --- a/Natives/ViewController.m +++ b/Natives/ViewController.m @@ -54,7 +54,7 @@ - (void)glkView:(GLKView *)view drawInRect:(CGRect)rect { glClear(GL_COLOR_BUFFER_BIT); - callback_AppDelegate_didFinishLaunching(rect.width, rect.height); + callback_AppDelegate_didFinishLaunching(rect.size.width, rect.size.height); } @end