aboutsummaryrefslogtreecommitdiff
path: root/xbmc/application/Application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/application/Application.cpp')
-rw-r--r--xbmc/application/Application.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/xbmc/application/Application.cpp b/xbmc/application/Application.cpp
index 1f5c65f64e..8cb1731647 100644
--- a/xbmc/application/Application.cpp
+++ b/xbmc/application/Application.cpp
@@ -810,16 +810,7 @@ void CApplication::Render()
return;
// render gui layer
- const bool renderGUI = appPower->GetRenderGUI();
- if (m_guiRenderLastState != std::nullopt && renderGUI && m_guiRenderLastState != renderGUI)
- {
- CGUIComponent* gui = CServiceBroker::GetGUI();
- if (gui)
- CServiceBroker::GetGUI()->GetWindowManager().MarkDirty();
- }
- m_guiRenderLastState = renderGUI;
-
- if (renderGUI && !m_skipGuiRender)
+ if (appPower->GetRenderGUI() && !m_skipGuiRender)
{
if (CServiceBroker::GetWinSystem()->GetGfxContext().GetStereoMode())
{