[PATCH] Correct bilinear filter kernel size (should be 2x2)

Keith Packard keithp at keithp.com
Fri Nov 14 14:12:39 PST 2008


---
 render/filter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/render/filter.c b/render/filter.c
index b5bcf02..21eedca 100644
--- a/render/filter.c
+++ b/render/filter.c
@@ -252,7 +252,7 @@ PictureSetDefaultFilters (ScreenPtr pScreen)
 	    return FALSE;
     if (PictureAddFilter (pScreen, FilterNearest, 0, 1, 1) < 0)
 	return FALSE;
-    if (PictureAddFilter (pScreen, FilterBilinear, 0, 4, 4) < 0)
+    if (PictureAddFilter (pScreen, FilterBilinear, 0, 2, 2) < 0)
 	return FALSE;
 
     if (!PictureSetFilterAlias (pScreen, FilterNearest, FilterFast))
-- 
1.5.6.5




More information about the xorg mailing list