From: Vinson Lee Date: Sun, 22 Nov 2009 05:55:52 +0000 (-0500) Subject: st/xorg: Reorder cases in switch statement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46feb7db71b05ec67a7c78f6bc608adec0734dec;p=mesa.git st/xorg: Reorder cases in switch statement. Silences missing break statement warning. --- diff --git a/src/gallium/state_trackers/xorg/xorg_composite.c b/src/gallium/state_trackers/xorg/xorg_composite.c index eed7a7d63a5..4dbb490ca51 100644 --- a/src/gallium/state_trackers/xorg/xorg_composite.c +++ b/src/gallium/state_trackers/xorg/xorg_composite.c @@ -151,9 +151,11 @@ render_filter_to_gallium(int xrender_filter, int *out_filter) case PictFilterBest: *out_filter = PIPE_TEX_FILTER_LINEAR; break; + case PictFilterConvolution: + *out_filter = PIPE_TEX_FILTER_NEAREST; + return FALSE; default: debug_printf("Unknown xrender filter\n"); - case PictFilterConvolution: *out_filter = PIPE_TEX_FILTER_NEAREST; return FALSE; }