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
|
@ -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…
Reference in New Issue
Block a user