aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS. Davilla <davilla@4pi.com>2011-05-11 11:42:09 -0400
committerS. Davilla <davilla@4pi.com>2011-05-11 11:42:32 -0400
commit905187c4ef56bdc208646341d1bf2e2a386ba4ca (patch)
treef7f4b9fe97614d622505bb738be9268533544f1b
parent28a21e5bec5acfb633034e6fb2548844e8e5f526 (diff)
[ios] fixed lost calibration settings
-rw-r--r--xbmc/guilib/GraphicContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/guilib/GraphicContext.cpp b/xbmc/guilib/GraphicContext.cpp
index 61bd4c6b8f..b184480b32 100644
--- a/xbmc/guilib/GraphicContext.cpp
+++ b/xbmc/guilib/GraphicContext.cpp
@@ -307,8 +307,8 @@ bool CGraphicContext::IsValidResolution(RESOLUTION res)
void CGraphicContext::SetVideoResolution(RESOLUTION res, bool forceUpdate)
{
-#if defined __APPLE__
- /* Update the resolutions. XBMC window can be moved to another screen. */
+#if defined(__APPLE__) && !defined(__arm__)
+ /* Update the resolutions. XBMC window can be moved to another screen (except ios/atv2). */
g_Windowing.UpdateResolutions();
#endif
RESOLUTION lastRes = m_Resolution;