From 053dd8c524c9a89fd838df8c2b7002a1471e781a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 4 Jan 2016 22:31:17 -0800 Subject: [PATCH] Cleanup. --- examples/common/entry/entry_ios.mm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/common/entry/entry_ios.mm b/examples/common/entry/entry_ios.mm index e12c224e..052c161a 100644 --- a/examples/common/entry/entry_ios.mm +++ b/examples/common/entry/entry_ios.mm @@ -185,7 +185,7 @@ static void* m_device = NULL; } } #endif - + return [CAEAGLLayer class]; } @@ -197,15 +197,15 @@ static void* m_device = NULL; { return nil; } - + bgfx::PlatformData pd; pd.ndt = NULL; pd.nwh = self.layer; - pd.context = m_device; + pd.context = m_device; pd.backBuffer = NULL; pd.backBufferDS = NULL; bgfx::setPlatformData(pd); - + return self; } @@ -309,7 +309,7 @@ static void* m_device = NULL; [m_window setRootViewController:viewController]; [m_window makeKeyAndVisible]; - + [m_window makeKeyAndVisible]; //float scaleFactor = [[UIScreen mainScreen] scale]; // should use this, but ui is too small on ipad retina