Commit 951c058e authored by Aaron Plattner's avatar Aaron Plattner
Browse files

Don't fail compScreenInit if the driver added its own alternate visuals.

parent 722d73a0
......@@ -239,7 +239,8 @@ compAddAlternateVisual(ScreenPtr pScreen, CompScreenPtr cs,
depth = compFindVisuallessDepth (pScreen, alt->depth);
if (!depth)
return FALSE;
/* alt->depth doesn't exist or already has alternate visuals. */
return TRUE;
pPictFormat = PictureMatchFormat (pScreen, alt->depth, alt->format);
if (!pPictFormat)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment