getActualWidth() is returning incorrect dimensions [SOLVED]
-
- Halfling
- Posts: 64
- Joined: Wed Aug 20, 2008 9:20 pm
- x 22
getActualWidth() is returning incorrect dimensions [SOLVED]
This is odd. I just realized that vp->getActualWidth() is returning 1136 on my Phone 6 device, when in fact it should be giving me 1334. In fact, 1136 is the resolution for iPhone 5. Running the application on my iPad air is returning the correct size as well, just the iPhone 6 is wrong. The viewport is obviously larger than that when I run my app because it runs fullscreen perfectly fine. What the heck is causing this discrepancy?
Last edited by fd9_ on Wed Oct 15, 2014 12:56 am, edited 1 time in total.
-
- Halfling
- Posts: 64
- Joined: Wed Aug 20, 2008 9:20 pm
- x 22
Re: getActualWidth() is returning incorrect dimensions, Ogre
Nevermind, turns out the problem was that I didn't have a proper iPhone 6 splash screen. Silly Apple.