mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 05:50:04 +01:00
dix: FindBestPixel: fix implicit fallthrough warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
(cherry picked from commit 9c9e1afeb2)
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1717>
This commit is contained in:
parent
52813e32f2
commit
00d0eba826
1 changed files with 1 additions and 0 deletions
|
|
@ -1250,6 +1250,7 @@ FindBestPixel(EntryPtr pentFirst, int size, xrgb * prgb, int channel)
|
|||
case PSEUDOMAP:
|
||||
dg = (long) pent->co.local.green - prgb->green;
|
||||
db = (long) pent->co.local.blue - prgb->blue;
|
||||
/* fallthrough */
|
||||
case REDMAP:
|
||||
dr = (long) pent->co.local.red - prgb->red;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue