diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-22 08:58:51 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-22 09:00:25 +0100 |
commit | f2e0454f2df4289521b24de41fb41c68f7abf0ed (patch) | |
tree | 2778e58e08c74901f26342cdbf7cd64c2e7fa0df /src | |
parent | abe85adda51c58d3f3b9c5dea6cec4b13a65cdcd (diff) |
sna: Fix DBG typo and so fix build with --enable-debug
s/hint/flags/ -- used the wrong variable name in an assert and upset the
compiler.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 0e4d8fe2..1e58860d 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -2947,7 +2947,7 @@ sna_drawable_use_bo(DrawablePtr drawable, unsigned flags, const BoxRec *box, box->x1, box->y1, box->x2, box->y2, flags)); - assert((hint & REPLACES) == 0 || (hint & IGNORE_CPU)); + assert((flags & REPLACES) == 0 || (flags & IGNORE_CPU)); assert(box->x2 > box->x1 && box->y2 > box->y1); assert(pixmap->refcnt); |