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:
parent
abe85adda5
commit
f2e0454f2d
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue