Skip to content

Commit

Permalink
[CDVDOverlay] Mark dirty region before render overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Portisch committed Jan 14, 2025
1 parent fa28b29 commit 2d950e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include "cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayImage.h"
#include "cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayLibass.h"
#include "cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlaySpu.h"
#include "guilib/GUIComponent.h"
#include "guilib/GUIWindowManager.h"
#include "settings/DisplaySettings.h"
#include "settings/Settings.h"
#include "settings/SettingsComponent.h"
Expand Down Expand Up @@ -243,6 +245,7 @@ void CRenderer::Render(COverlay* o)

state.x += GetStereoscopicDepth(o->m_pgsSubtitle, o->m_3dSubtitleDepth);

CServiceBroker::GetGUI()->GetWindowManager().MarkDirty(CRect(state.x, state.y, state.width, state.height));
o->Render(state);
}

Expand Down

0 comments on commit 2d950e1

Please sign in to comment.