Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1168 from FernetMenta/drfix
dirty regions: dont add invisible controls to the tracker
  • Loading branch information
FernetMenta committed Jul 30, 2012
2 parents 1b0360e + 1a2612b commit e15269b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/guilib/GUIControl.cpp
Expand Up @@ -129,7 +129,7 @@ void CGUIControl::DoProcess(unsigned int currentTime, CDirtyRegionList &dirtyreg
{
CRect dirtyRegion = m_renderRegion;

bool changed = m_bInvalidated;
bool changed = m_bInvalidated && IsVisible();

changed |= Animate(currentTime);

Expand Down

0 comments on commit e15269b

Please sign in to comment.