projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
563fe6e
)
st/xorg: Reorder cases in switch statement.
author
Vinson Lee
<vlee@vmware.com>
Sun, 22 Nov 2009 05:55:52 +0000
(
00:55
-0500)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 22 Nov 2009 05:55:52 +0000
(
00:55
-0500)
Silences missing break statement warning.
src/gallium/state_trackers/xorg/xorg_composite.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_composite.c
b/src/gallium/state_trackers/xorg/xorg_composite.c
index eed7a7d63a51126c15aebb5cf9ca390f7f012bbe..4dbb490ca5144bdf69a1200faed725022555d5af 100644
(file)
--- 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;
}