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:
parent
efd84bff23
commit
ddf752eafe
|
@ -293,14 +293,6 @@ PictureCreateDefaultFormats(ScreenPtr pScreen, int *nformatp)
|
||||||
PICT_a4b4g4r4, pDepth->depth);
|
PICT_a4b4g4r4, pDepth->depth);
|
||||||
}
|
}
|
||||||
break;
|
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:
|
case 32:
|
||||||
if (pDepth->depth >= 24) {
|
if (pDepth->depth >= 24) {
|
||||||
nformats = addFormat(formats, nformats,
|
nformats = addFormat(formats, nformats,
|
||||||
|
|
Loading…
Reference in New Issue