summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-11-19 17:25:05 +0100
committerMichel Dänzer <[email protected]>2009-11-19 17:25:05 +0100
commit012d0193cc9ad6fdc9829db0a6884a5a590dd4c5 (patch)
treef07ab1f55b4c647e384dde84d7cf7bf0a2bbd920
parent10dbdee05694489edd03b353dfe133a17e65b469 (diff)
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.
-rw-r--r--src/gallium/state_trackers/xorg/xorg_composite.c3
1 files changed, 2 insertions, 1 deletions
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;
}