From: Michel Dänzer Date: Thu, 19 Nov 2009 16:25:05 +0000 (+0100) Subject: st/xorg: Don't complain about convolution filter being 'unknown'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=012d0193cc9ad6fdc9829db0a6884a5a590dd4c5;p=mesa.git st/xorg: Don't complain about convolution filter being 'unknown'. Also add a newline to the complaint so it'll be a little less annoying if we actually encounter an unknown filter value again. --- diff --git a/src/gallium/state_trackers/xorg/xorg_composite.c b/src/gallium/state_trackers/xorg/xorg_composite.c index 733bd53fca8..86a52077c3c 100644 --- a/src/gallium/state_trackers/xorg/xorg_composite.c +++ b/src/gallium/state_trackers/xorg/xorg_composite.c @@ -152,7 +152,8 @@ render_filter_to_gallium(int xrender_filter, int *out_filter) *out_filter = PIPE_TEX_FILTER_LINEAR; break; default: - debug_printf("Unkown xrender filter"); + debug_printf("Unkown xrender filter\n"); + case PictFilterConvolution: *out_filter = PIPE_TEX_FILTER_NEAREST; return FALSE; }