aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpieh <misiek.piechowiak@gmail.com>2012-09-19 19:50:51 +0200
committerpieh <misiek.piechowiak@gmail.com>2012-09-19 23:45:51 +0200
commitecadaf475d9618ed13f67210ca220b4d46f1d4bb (patch)
treecd8fde221cb9fabbad78c5f2511fa35bd0b0e5b6
parent90fa342cbbdc1196b4e371aa9291d72672d33d88 (diff)
fix multiimage never refreshing in LOAD_ON_GUI_INIT/KEEP_IN_MEMORY windows - now textures will refresh when multiimage is used after ::FreeResources
-rw-r--r--xbmc/guilib/GUIMultiImage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/guilib/GUIMultiImage.cpp b/xbmc/guilib/GUIMultiImage.cpp
index 22838441ee..1ee07aeb17 100644
--- a/xbmc/guilib/GUIMultiImage.cpp
+++ b/xbmc/guilib/GUIMultiImage.cpp
@@ -187,6 +187,8 @@ void CGUIMultiImage::FreeResources(bool immediately)
{
m_image.FreeResources(immediately);
m_currentImage = 0;
+ CancelLoading();
+ m_files.clear();
CGUIControl::FreeResources(immediately);
}