From c84946c59ff957c516d7cc2e11bc2d220d5c1498 Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Wed, 6 Jan 2021 16:24:16 +0700 Subject: [PATCH] Update ViewController.m --- Natives/ViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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