Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed screensavers other than dim/black

  • Loading branch information...
commit c806d12fca144141340ffee3653a092d3ba5514d 1 parent 19e8cb6
Jonathan Marshall authored
View
7 xbmc/windows/GUIWindowScreensaver.cpp
@@ -40,6 +40,13 @@ CGUIWindowScreensaver::~CGUIWindowScreensaver(void)
{
}
+void CGUIWindowScreensaver::Process(unsigned int currentTime, CDirtyRegionList &regions)
+{
+ MarkDirtyRegion();
+ CGUIWindow::Process(currentTime, regions);
+ m_renderRegion.SetRect(0, 0, (float)g_graphicsContext.GetWidth(), (float)g_graphicsContext.GetHeight());
+}
+
void CGUIWindowScreensaver::Render()
{
CSingleLock lock (m_critSection);
View
1  xbmc/windows/GUIWindowScreensaver.h
@@ -41,6 +41,7 @@ class CGUIWindowScreensaver : public CGUIWindow
virtual bool OnMessage(CGUIMessage& message);
virtual bool OnAction(const CAction &action);
virtual void Render();
+ virtual void Process(unsigned int currentTime, CDirtyRegionList &regions);
protected:
virtual EVENT_RESULT OnMouseEvent(const CPoint &point, const CMouseEvent &event);
Please sign in to comment.
Something went wrong with that request. Please try again.