mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-31 11:20:09 +01:00
Bug #4689: Treat DirectColor as TrueColor in Render. It fixes some crashes
with xcompmgr when using apps that use a DirectColor visual for their
windows
This commit is contained in:
parent
9000c0321b
commit
5f30a7b102
1 changed files with 1 additions and 1 deletions
|
|
@ -543,9 +543,9 @@ PictureMatchVisual (ScreenPtr pScreen, int depth, VisualPtr pVisual)
|
|||
type = PictTypeIndexed;
|
||||
break;
|
||||
case TrueColor:
|
||||
case DirectColor:
|
||||
type = PictTypeDirect;
|
||||
break;
|
||||
case DirectColor:
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue