diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-10-18 17:52:56 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-10-19 13:11:24 +0100 |
commit | 1a43b2a46a67fdea215719c4446224c9d2e26a20 (patch) | |
tree | 935b1f407efbbf0da62733951fffe103f7724bb6 /src/sna/sna_composite.c | |
parent | 7a9c76e1812d106fedf160c959e6e502998e4ce8 (diff) |
sna: Use the unlikely wedged() throughout
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_composite.c')
-rw-r--r-- | src/sna/sna_composite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_composite.c b/src/sna/sna_composite.c index e0b1ca39..3962d759 100644 --- a/src/sna/sna_composite.c +++ b/src/sna/sna_composite.c @@ -434,7 +434,7 @@ sna_composite(CARD8 op, width, height)) return; - if (sna->kgem.wedged) { + if (wedged(sna)) { DBG(("%s: fallback -- wedged\n", __FUNCTION__)); goto fallback; } @@ -641,7 +641,7 @@ sna_composite_rectangles(CARD8 op, RegionExtents(®ion)->x1, RegionExtents(®ion)->y1, RegionExtents(®ion)->x2, RegionExtents(®ion)->y2)); - if (sna->kgem.wedged) + if (wedged(sna)) goto fallback; if (dst->alphaMap) { |