mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-23 11:51:22 +00:00
[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:
parent
4b4a75475a
commit
f7682c289a
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue