Skip to content
Browse files

fixed xml-based python windows weren't processing textures from the c…

…orrect folder
  • Loading branch information...
1 parent 65b970f commit b20fb33f85accd9c335e47d17fb10365f4fd6fa8 Jonathan Marshall committed Jun 17, 2011
View
4 xbmc/interfaces/python/xbmcmodule/GUIPythonWindowXML.cpp
@@ -344,10 +344,10 @@ void CGUIPythonWindowXML::FreeResources(bool forceUnLoad /*= FALSE */)
CGUIMediaWindow::FreeResources(forceUnLoad);
}
-void CGUIPythonWindowXML::Render()
+void CGUIPythonWindowXML::Process(unsigned int currentTime, CDirtyRegionList &regions)
{
g_TextureManager.AddTexturePath(m_mediaDir);
- CGUIMediaWindow::Render();
+ CGUIMediaWindow::Process(currentTime, regions);
g_TextureManager.RemoveTexturePath(m_mediaDir);
}
View
2 xbmc/interfaces/python/xbmcmodule/GUIPythonWindowXML.h
@@ -37,7 +37,7 @@ class CGUIPythonWindowXML : public CGUIMediaWindow
virtual bool OnAction(const CAction &action);
virtual void AllocResources(bool forceLoad = false);
virtual void FreeResources(bool forceUnLoad = false);
- virtual void Render();
+ void Process(unsigned int currentTime, CDirtyRegionList &regions);
void WaitForActionEvent(unsigned int timeout);
void PulseActionEvent();
void AddItem(CFileItemPtr fileItem,int itemPosition);

0 comments on commit b20fb33

Please sign in to comment.
Something went wrong with that request. Please try again.