summaryrefslogtreecommitdiff
path: root/src/sna/sna_composite.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-10-18 17:52:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-10-19 13:11:24 +0100
commit1a43b2a46a67fdea215719c4446224c9d2e26a20 (patch)
tree935b1f407efbbf0da62733951fffe103f7724bb6 /src/sna/sna_composite.c
parent7a9c76e1812d106fedf160c959e6e502998e4ce8 (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.c4
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(&region)->x1, RegionExtents(&region)->y1,
RegionExtents(&region)->x2, RegionExtents(&region)->y2));
- if (sna->kgem.wedged)
+ if (wedged(sna))
goto fallback;
if (dst->alphaMap) {