theuni/xbmc — comment on commit 394b1463e6ba7d28bb76996e29d2d34d7330ed86
File: xbmc/guilib/DirtyRegionTracker.cpp line 61
By topfs2:

I'd recomend use g_advancedSettings.m_guiAlgorithmDirtyRegions != DIRTYREGION_SOLVER_FILL_VIEWPORT_ALWAYS instead of assuming it starts at 0 (which it must not with enum)