[PATCH xserver 1/3] render: Remove some 24bpp handling

Adam Jackson ajax at redhat.com
Thu Feb 22 21:53:21 UTC 2018


This can't happen anymore.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 render/picture.c | 8 --------
 1 file changed, 8 deletions(-)

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,
-- 
2.14.3



More information about the xorg-devel mailing list