projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d6f89
)
sna: Fix use before assignment
author
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 19 Nov 2013 12:09:35 +0000
(12:09 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 19 Nov 2013 12:09:35 +0000
(12:09 +0000)
mono.sna was being used the line before it was assigned.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_trapezoids_mono.c
patch
|
blob
|
history
diff --git
a/src/sna/sna_trapezoids_mono.c
b/src/sna/sna_trapezoids_mono.c
index
40d0381
..
dd629b6
100644
(file)
--- a/
src/sna/sna_trapezoids_mono.c
+++ b/
src/sna/sna_trapezoids_mono.c
@@
-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,