From f7682c289ada4464b8da78d4f0c7d07652ad4d24 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 3 Aug 2021 22:29:04 +1000 Subject: [PATCH] [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. --- client/renderers/EGL/egl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/renderers/EGL/egl.c b/client/renderers/EGL/egl.c index 5e08ec50..3c21d76a 100644 --- a/client/renderers/EGL/egl.c +++ b/client/renderers/EGL/egl.c @@ -941,9 +941,6 @@ static bool egl_render(void * opaque, LG_RendererRotate rotate, const bool newFr accumulated->count = util_mergeOverlappingRects(accumulated->rects, accumulated->count); } - if (renderAll) - renderLetterBox(this); - if (this->start) { if (egl_desktop_render(this->desktop, @@ -967,6 +964,8 @@ static bool egl_render(void * opaque, LG_RendererRotate rotate, const bool newFr hasOverlay = true; } + renderLetterBox(this); + if (!this->waitDone) { float a = 1.0f;