Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jabbera/xbmc
...
head fork: jabbera/xbmc
  • 5 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 5 additions and 5 deletions.
  1. +5 −5 xbmc/guilib/GraphicContext.cpp
View
10 xbmc/guilib/GraphicContext.cpp
@@ -280,14 +280,14 @@ void CGraphicContext::SetFullScreenVideo(bool bOnOff)
if(m_bFullScreenRoot)
{
if(m_bFullScreenVideo)
- g_graphicsContext.SetVideoResolution(g_renderManager.GetResolution());
+ SetVideoResolution(g_renderManager.GetResolution());
else if(g_guiSettings.m_LookAndFeelResolution > RES_DESKTOP)
- g_graphicsContext.SetVideoResolution(g_guiSettings.m_LookAndFeelResolution);
+ SetVideoResolution(g_guiSettings.m_LookAndFeelResolution);
else
- g_graphicsContext.SetVideoResolution(RES_DESKTOP);
+ SetVideoResolution(RES_DESKTOP);
}
else
- g_graphicsContext.SetVideoResolution(RES_WINDOW);
+ SetVideoResolution(RES_WINDOW);
#endif
Unlock();
@@ -783,7 +783,7 @@ bool CGraphicContext::ToggleFullScreenRoot ()
uiRes = newRes;
#if defined(HAS_VIDEO_PLAYBACK)
- if (g_graphicsContext.IsFullScreenVideo() || g_graphicsContext.IsCalibrating())
+ if (IsFullScreenVideo() || IsCalibrating())
{
/* we need to trick renderer that we are fullscreen already so it gives us a valid value */
m_bFullScreenRoot = true;

No commit comments for this range

Something went wrong with that request. Please try again.