Don't fail compScreenInit if the driver added its own alternate visuals.
This commit is contained in:
parent
722d73a0ef
commit
951c058e78
|
@ -239,7 +239,8 @@ compAddAlternateVisual(ScreenPtr pScreen, CompScreenPtr cs,
|
||||||
|
|
||||||
depth = compFindVisuallessDepth (pScreen, alt->depth);
|
depth = compFindVisuallessDepth (pScreen, alt->depth);
|
||||||
if (!depth)
|
if (!depth)
|
||||||
return FALSE;
|
/* alt->depth doesn't exist or already has alternate visuals. */
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
pPictFormat = PictureMatchFormat (pScreen, alt->depth, alt->format);
|
pPictFormat = PictureMatchFormat (pScreen, alt->depth, alt->format);
|
||||||
if (!pPictFormat)
|
if (!pPictFormat)
|
||||||
|
|
Loading…
Reference in New Issue