Permalink
Browse files

remove unnecessary SetClipRegion around multiimage rendering - GUITex…

…ture clips when it needs to anyway
  • Loading branch information...
1 parent fd665e0 commit bff59f25f80c55a67e4219d7ba10b671a5c8a0bf Jonathan Marshall committed Jul 24, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 xbmc/guilib/GUIMultiImage.cpp
@@ -146,12 +146,7 @@ void CGUIMultiImage::Process(unsigned int currentTime, CDirtyRegionList &dirtyre
void CGUIMultiImage::Render()
{
if (!m_files.empty())
- {
- // Set a viewport so that we don't render outside the defined area
- g_graphicsContext.SetClipRegion(m_posX, m_posY, m_width, m_height);
m_image.Render();
- g_graphicsContext.RestoreClipRegion();
- }
CGUIControl::Render();
}

0 comments on commit bff59f2

Please sign in to comment.