sna: Fix use before assignment

mono.sna was being used the line before it was assigned.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-11-19 12:09:35 +00:00
parent a9d6f897e6
commit 9ed5f83fe7
1 changed files with 2 additions and 2 deletions

View File

@ -803,8 +803,8 @@ mono_trapezoids_span_converter(struct sna *sna,
unbounded = (!sna_drawable_is_clear(dst->pDrawable) &&
!operator_is_bounded(op));
if (op == PictOpClear && mono.sna->clear)
src = mono.sna->clear;
if (op == PictOpClear && sna->clear)
src = sna->clear;
mono.sna = sna;
if (!mono.sna->render.composite(mono.sna, op, src, NULL, dst,