mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-09 17:08:08 +00:00
[client] egl: use linear filter when not scaling
This appears to eliminate artifacts related to non-full screen paints due to precision errors with the nearest filter.
This commit is contained in:
@@ -398,11 +398,11 @@ bool egl_desktopRender(EGL_Desktop * desktop, unsigned int outputWidth,
|
|||||||
case EGL_SCALE_AUTO:
|
case EGL_SCALE_AUTO:
|
||||||
switch (scaleType)
|
switch (scaleType)
|
||||||
{
|
{
|
||||||
case EGL_DESKTOP_NOSCALE:
|
|
||||||
case EGL_DESKTOP_UPSCALE:
|
case EGL_DESKTOP_UPSCALE:
|
||||||
scaleAlgo = EGL_SCALE_NEAREST;
|
scaleAlgo = EGL_SCALE_NEAREST;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case EGL_DESKTOP_NOSCALE:
|
||||||
case EGL_DESKTOP_DOWNSCALE:
|
case EGL_DESKTOP_DOWNSCALE:
|
||||||
scaleAlgo = EGL_SCALE_LINEAR;
|
scaleAlgo = EGL_SCALE_LINEAR;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user