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