Commit be64167f authored by Eric Anholt's avatar Eric Anholt Committed by Zhigang Gong

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

Fixes failure with rendercheck.
parent 126fc09c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment