st/xorg: Don't complain about convolution filter being 'unknown'.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 19 Nov 2009 16:25:05 +0000 (17:25 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Thu, 19 Nov 2009 16:25:05 +0000 (17:25 +0100)
Also add a newline to the complaint so it'll be a little less annoying if we
actually encounter an unknown filter value again.

src/gallium/state_trackers/xorg/xorg_composite.c

index 733bd53fca8854511bbdcf781554b8c80d93e51d..86a52077c3cd13166e8888f954577f11304a988b 100644 (file)
@@ -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;
    }