aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@never.you.mind>2011-07-01 11:37:48 +1200
committerJonathan Marshall <jmarshall@never.you.mind>2011-07-01 11:38:17 +1200
commit1f4dd1fe881fe768afcf71bc4bf14bbb74e65476 (patch)
treee1c752bfd2e035f94e90a20cb3144a22ce2bca3a
parentc6490197dbb2d9e73f2d12a8d25b035de8afbad8 (diff)
reset the rendering resolution after rendering subs so that any window-based controls are rendered correctly. Fixes #11695.
-rw-r--r--xbmc/video/windows/GUIWindowFullScreen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/video/windows/GUIWindowFullScreen.cpp b/xbmc/video/windows/GUIWindowFullScreen.cpp
index 04057a3a34..9121e009f3 100644
--- a/xbmc/video/windows/GUIWindowFullScreen.cpp
+++ b/xbmc/video/windows/GUIWindowFullScreen.cpp
@@ -904,6 +904,9 @@ void CGUIWindowFullScreen::RenderTTFSubtitles()
float y = g_settings.m_ResInfo[res].iSubtitles - textHeight;
m_subsLayout->RenderOutline(x, y, 0, 0xFF000000, XBFONT_CENTER_X, maxWidth);
+
+ // reset rendering resolution
+ g_graphicsContext.SetRenderingResolution(m_coordsRes, m_needsScaling);
}
}
}