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>
This commit is contained in:
Chris Wilson 2013-05-22 08:58:51 +01:00
parent abe85adda5
commit f2e0454f2d
1 changed files with 1 additions and 1 deletions

View File

@ -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);