glamor: Don't try to CopyArea from a Solid source picture.

Fixes failure with rendercheck.
This commit is contained in:
Eric Anholt 2010-02-11 09:20:50 -08:00 committed by Zhigang Gong
parent 126fc09cb5
commit be64167fea

View File

@ -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;