Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
fixed compiler warning
Browse files Browse the repository at this point in the history
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28861 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
davilla committed Mar 26, 2010
1 parent ed7c359 commit f42cec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
Expand Up @@ -948,7 +948,7 @@ void CLinuxRendererGL::UpdateVideoFilter()
if (m_scalingMethod == VS_SCALINGMETHOD_AUTO)
{
bool scaleSD = m_sourceHeight < 720 && m_sourceWidth < 1280;
bool scaleUp = m_sourceHeight < g_graphicsContext.GetHeight() && m_sourceWidth < g_graphicsContext.GetWidth();
bool scaleUp = (int)m_sourceHeight < g_graphicsContext.GetHeight() && (int)m_sourceWidth < g_graphicsContext.GetWidth();

if (Supports(VS_SCALINGMETHOD_LANCZOS3_FAST) && scaleSD && scaleUp)
m_scalingMethod = VS_SCALINGMETHOD_LANCZOS3_FAST;
Expand Down

0 comments on commit f42cec2

Please sign in to comment.