[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:
Quantum authored and Geoffrey McRae committed 2021-12-02 22:07:24 +11:00
1 parent 9780f51558
commit 3e9a21d3b9
1 file changed
+1 -1
+1 -1
View File
@@ -398,11 +398,11 @@ bool egl_desktopRender(EGL_Desktop * desktop, unsigned int outputWidth,
case EGL_SCALE_AUTO:
switch (scaleType)
{
case EGL_DESKTOP_NOSCALE:
case EGL_DESKTOP_UPSCALE:
scaleAlgo = EGL_SCALE_NEAREST;
break;
case EGL_DESKTOP_NOSCALE:
case EGL_DESKTOP_DOWNSCALE:
scaleAlgo = EGL_SCALE_LINEAR;
break;