Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mark slideshow window initially dirty

  • Loading branch information...
commit c5a85623fb1728d54e0ef966564469d71b14b8c5 1 parent bb73b9e
Jonathan Marshall authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 xbmc/pictures/GUIWindowSlideShow.cpp
View
4 xbmc/pictures/GUIWindowSlideShow.cpp
@@ -279,6 +279,10 @@ void CGUIWindowSlideShow::Process(unsigned int currentTime, CDirtyRegionList &re
int iSlides = m_slides->Size();
if (!iSlides) return ;
+ // if we haven't rendered yet, we should mark the whole screen
+ if (!m_hasRendered)
+ regions.push_back(CRect(0.0f, 0.0f, (float)g_graphicsContext.GetWidth(), (float)g_graphicsContext.GetHeight()));
+
if (m_iNextSlide < 0 || m_iNextSlide >= m_slides->Size())
m_iNextSlide = 0;
if (m_iCurrentSlide < 0 || m_iCurrentSlide >= m_slides->Size())
Please sign in to comment.
Something went wrong with that request. Please try again.