mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 06:50:37 +02:00
nine: Fixes compile of nine_pipe.h with clang
../../src/gallium/frontends/nine/nine_pipe.h:377:9: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
default:
^
../../src/gallium/frontends/nine/nine_pipe.h:377:9: note: insert 'break;' to avoid fall-through
default:
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18024>
This commit is contained in:
parent
b5b855149c
commit
41af9bc0a5
1 changed files with 1 additions and 0 deletions
|
|
@ -374,6 +374,7 @@ d3d9_to_pipe_format_checked(struct pipe_screen *screen,
|
|||
return PIPE_FORMAT_NONE;
|
||||
if (format_check_internal(PIPE_FORMAT_R8G8B8X8_UNORM))
|
||||
return PIPE_FORMAT_R8G8B8X8_UNORM;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue