[client] egl: always render the black bar areas

Failure to render these causes artifacts/ghosting when the overlays are
using this area, as such we need to always render this area of the
screen.
This commit is contained in:
Geoffrey McRae 2021-08-03 22:29:04 +10:00
parent 4b4a75475a
commit f7682c289a

View file

@ -941,9 +941,6 @@ static bool egl_render(void * opaque, LG_RendererRotate rotate, const bool newFr
accumulated->count = util_mergeOverlappingRects(accumulated->rects, accumulated->count); accumulated->count = util_mergeOverlappingRects(accumulated->rects, accumulated->count);
} }
if (renderAll)
renderLetterBox(this);
if (this->start) if (this->start)
{ {
if (egl_desktop_render(this->desktop, if (egl_desktop_render(this->desktop,
@ -967,6 +964,8 @@ static bool egl_render(void * opaque, LG_RendererRotate rotate, const bool newFr
hasOverlay = true; hasOverlay = true;
} }
renderLetterBox(this);
if (!this->waitDone) if (!this->waitDone)
{ {
float a = 1.0f; float a = 1.0f;