summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-02-22 16:53:21 -0500
committerAdam Jackson <ajax@redhat.com>2018-02-23 13:15:31 -0500
commitddf752eafe951bb9723aabf2579c4725a6ffc9de (patch)
tree1cfa3299f9570b6614130a89b47773f6742a31ee /render
parentefd84bff238f8e12bf652525990d36baada8785b (diff)
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>
Diffstat (limited to 'render')
-rw-r--r--render/picture.c8
1 files changed, 0 insertions, 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,