summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-12-03 11:14:53 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-12-03 12:09:53 +0000
commit5a353ed151d175a757af6f8d5216bf2370dd3917 (patch)
treede752a4a88de4002dd053fcd7e11fc2019cbc04b /src/sna/sna.h
parent4274110b78f8962b921f773e67c981b033c3f664 (diff)
sna: More assertions around tracking mapped state
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index 8a7a94fb..7bd3aa4f 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -515,7 +515,6 @@ static inline void sna_pixmap_unmap(PixmapPtr pixmap, struct sna_pixmap *priv)
priv->mapped == MAPPED_CPU ? "cpu" : "gtt"));
assert_pixmap_map(pixmap, priv);
- assert(priv->stride && priv->stride);
pixmap->devPrivate.ptr = PTR(priv->ptr);
pixmap->devKind = priv->stride;