render: Remove some 24bpp handling

This can't happen anymore.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Adam Jackson 2018-02-22 16:53:21 -05:00
parent efd84bff23
commit ddf752eafe

View File

@ -293,14 +293,6 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
PICT_a4b4g4r4, pDepth->depth);
}
break;
case 24:
if (pDepth->depth >= 24) {
nformats = addFormat(formats, nformats,
PICT_r8g8b8, pDepth->depth);
nformats = addFormat(formats, nformats,
PICT_b8g8r8, pDepth->depth);
}
break;
case 32:
if (pDepth->depth >= 24) {
nformats = addFormat(formats, nformats,