mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 16:50:13 +01:00
Don't fail compScreenInit if the driver added its own alternate visuals.
This commit is contained in:
parent
722d73a0ef
commit
951c058e78
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue