diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-16 12:53:02 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-16 12:53:02 +0100 |
commit | f33d44f41ef0f287375b7a6b1c117abff5a23b19 (patch) | |
tree | f739519938fd794112e71e731459fc7b3c123c61 /src | |
parent | dd9df24eb5234c96e499063904ab7bd85a332fd8 (diff) |
sna: And remove new bogus assertion
We assert that damage is valid as we delete the Pixmap, and so we cannot
assert that the Pixmap is still valid itself.
Reported-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_accel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index f2ae1395..97bcdcfc 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -276,7 +276,6 @@ _assert_pixmap_contains_damage(PixmapPtr pixmap, struct sna_damage *damage, cons #define __assert_pixmap_damage(p) do { \ struct sna_pixmap *priv__ = sna_pixmap(p); \ - assert(p->refcnt); \ if (priv__) { \ assert(priv__->gpu_damage == NULL || priv__->gpu_bo); \ assert(priv__->gpu_bo == NULL || priv__->gpu_bo->refcnt); \ |