glamor: Don't try to CopyArea from a Solid source picture.
Fixes failure with rendercheck.
This commit is contained in:
committed by
Zhigang Gong
parent
126fc09cb5
commit
be64167fea
@@ -406,6 +406,9 @@ glamor_composite_with_copy(CARD8 op,
|
|||||||
{
|
{
|
||||||
RegionRec region;
|
RegionRec region;
|
||||||
|
|
||||||
|
if (!source->pDrawable)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (!compatible_formats(op, dest, source))
|
if (!compatible_formats(op, dest, source))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user