summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-15 10:42:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-15 10:43:00 +0100
commit0345cbec97d2848fe5e41043d8ddf4cf5e888c72 (patch)
tree14a2e92df8b41fe4af0fb00f4a51301483874fb0 /src
parente952968ed7c6f1ec90752f10a5fb24ae2faa57f7 (diff)
sna/trapezoids: Initialise force_fallback
Remember to set it initially to false so that we randomly do not start using fallbacks. Fixes regression from commit 0cd2c43fa8f3a66d612589ad1163a90e427668ac Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sun Oct 13 14:46:45 2013 +0100 sna/trapezoids: Use the aligned fast path for fallbacks Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_trapezoids.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c
index 96916896..a0a8b5b2 100644
--- a/src/sna/sna_trapezoids.c
+++ b/src/sna/sna_trapezoids.c
@@ -547,7 +547,8 @@ sna_composite_trapezoids(CARD8 op,
PixmapPtr pixmap = get_drawable_pixmap(dst->pDrawable);
struct sna *sna = to_sna_from_pixmap(pixmap);
struct sna_pixmap *priv;
- bool rectilinear, pixel_aligned, force_fallback;
+ bool force_fallback = false;
+ bool rectilinear, pixel_aligned;
unsigned flags;
int n;