diff options
Diffstat (limited to 'render/picture.c')
-rw-r--r-- | render/picture.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/render/picture.c b/render/picture.c index 01f4f7a9d..a3670778e 100644 --- a/render/picture.c +++ b/render/picture.c @@ -325,6 +325,17 @@ PictureCreateDefaultFormats (ScreenPtr pScreen, int *nformatp) nformats = addFormat (formats, nformats, PICT_b8g8r8x8, pDepth->depth); } + if (pDepth->depth >= 30) + { + nformats = addFormat (formats, nformats, + PICT_a2r10g10b10, pDepth->depth); + nformats = addFormat (formats, nformats, + PICT_x2r10g10b10, pDepth->depth); + nformats = addFormat (formats, nformats, + PICT_a2b10g10r10, pDepth->depth); + nformats = addFormat (formats, nformats, + PICT_x2b10g10r10, pDepth->depth); + } break; } } |