This is an automated email from the git hooks/post-receive script. o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/xfwm4.
commit 7a92d0329483a6adaac6615ec39172345398951c Author: Juha Aatrokoski <[email protected]> Date: Thu Jul 4 10:49:04 2019 +0300 compositor: Fix GL texture filter Bug: 15676 Between versions 4.13.1 and 4.13.2 the GL_NEAREST filter (used on the deepest levels of desktop zoom) stopped working, and GL_LINEAR was used instead. Fix by setting GL_TEXTURE_MIN_FILTER in addition to GL_TEXTURE_MAG_FILTER, like was done in version 4.13.1; apparently the former needs to be correctly configured for the latter to take effect. Signed-off-by: Juha Aatrokoski <[email protected]> --- src/compositor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index 9899994..165601f 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1637,6 +1637,9 @@ redraw_glx_texture (ScreenInfo *screen_info, XserverRegion region, gushort buffe double y = XFixedToDouble (yp) / (screen_info->height * zoom); glTexParameteri(screen_info->texture_type, + GL_TEXTURE_MIN_FILTER, + screen_info->texture_filter); + glTexParameteri(screen_info->texture_type, GL_TEXTURE_MAG_FILTER, screen_info->texture_filter); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
