aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIButtonControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'guilib/GUIButtonControl.cpp')
-rw-r--r--guilib/GUIButtonControl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/guilib/GUIButtonControl.cpp b/guilib/GUIButtonControl.cpp
index 8d6f74a72f..a56bd4ab6b 100644
--- a/guilib/GUIButtonControl.cpp
+++ b/guilib/GUIButtonControl.cpp
@@ -171,11 +171,11 @@ void CGUIButtonControl::AllocResources()
m_height = m_imgFocus.GetHeight();
}
-void CGUIButtonControl::FreeResources()
+void CGUIButtonControl::FreeResources(bool immediately)
{
- CGUIControl::FreeResources();
- m_imgFocus.FreeResources();
- m_imgNoFocus.FreeResources();
+ CGUIControl::FreeResources(immediately);
+ m_imgFocus.FreeResources(immediately);
+ m_imgNoFocus.FreeResources(immediately);
}
void CGUIButtonControl::DynamicResourceAlloc(bool bOnOff)