support 32 bpp pixmaps when 24 bpp fb is used.
Fixes background corruption in ubuntu. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
This commit is contained in:
parent
3a9a6c972e
commit
c64fa9a296
|
@ -650,7 +650,7 @@ PreInit(ScrnInfoPtr pScrn, int flags)
|
|||
#endif
|
||||
drmmode_get_default_bpp(pScrn, &ms->drmmode, &defaultdepth, &defaultbpp);
|
||||
if (defaultdepth == 24 && defaultbpp == 24)
|
||||
bppflags = Support24bppFb;
|
||||
bppflags = SupportConvert32to24 | Support24bppFb;
|
||||
else
|
||||
bppflags = PreferConvert24to32 | SupportConvert24to32 | Support32bppFb;
|
||||
|
||||
|
|
Loading…
Reference in New Issue