From ddf752eafe951bb9723aabf2579c4725a6ffc9de Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 22 Feb 2018 16:53:21 -0500 Subject: render: Remove some 24bpp handling This can't happen anymore. Signed-off-by: Adam Jackson Reviewed-by: Keith Packard --- render/picture.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'render') diff --git a/render/picture.c b/render/picture.c index 9e4036e7d..1952785b2 100644 --- a/render/picture.c +++ b/render/picture.c @@ -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, -- cgit v1.2.3