diff options
author | Vinson Lee <[email protected]> | 2009-11-22 00:55:52 -0500 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-11-22 00:55:52 -0500 |
commit | 46feb7db71b05ec67a7c78f6bc608adec0734dec (patch) | |
tree | 210d65ac10499b044b48fa8463fc0ad688cc157a /src/gallium | |
parent | 563fe6e8f6c021ea45120cb1f201a1950b8d6057 (diff) |
st/xorg: Reorder cases in switch statement.
Silences missing break statement warning.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_composite.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |