summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-22 00:55:52 -0500
committerVinson Lee <vlee@vmware.com>2009-11-22 00:55:52 -0500
commit46feb7db71b05ec67a7c78f6bc608adec0734dec (patch)
tree210d65ac10499b044b48fa8463fc0ad688cc157a /src
parent563fe6e8f6c021ea45120cb1f201a1950b8d6057 (diff)
st/xorg: Reorder cases in switch statement.
Silences missing break statement warning.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_composite.c4
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 eed7a7d63a..4dbb490ca5 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;
}