dix: FindBestPixel: fix implicit fallthrough warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1673>
This commit is contained in:
parent
e6fc0861d8
commit
9c9e1afeb2
|
@ -1261,6 +1261,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…
Reference in New Issue