mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
st/xorg: Reorder cases in switch statement.
Silences missing break statement warning.
This commit is contained in:
parent
563fe6e8f6
commit
46feb7db71
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue