From a178eccdb514ad641b2a48e6020b7afa7a78416c Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 3 Aug 2014 22:41:26 +0100 Subject: vivante: avoid assert() in prepare_cpu_drawable() The same pixmap may be used multiple times in the unaccelerated functions. Do not require the in-use counter to be zero when preparing it. Signed-off-by: Russell King --- src/vivante_utils.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vivante_utils.c b/src/vivante_utils.c index 0567c61..2797fd6 100644 --- a/src/vivante_utils.c +++ b/src/vivante_utils.c @@ -237,7 +237,6 @@ void vivante_prepare_drawable(DrawablePtr pDrawable, int access) pixmap->devPrivate.ptr = vPix->bo->ptr; } #ifdef DEBUG_CHECK_DRAWABLE_USE - assert(vPix->in_use == 0); vPix->in_use++; #endif vPix->owner = CPU; -- cgit v1.2.3