summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2014-04-18 09:31:09 -0700
committerEric Anholt <eric@anholt.net>2014-04-22 09:48:46 -0700
commit4bbee6761d49478fa40ec5daa2797f13ae96ce5c (patch)
tree8e259d49a1a86759ee900d99e5094e7d7fca276f
parentba2432a020a9f9bd0892f643117795336ba0fc16 (diff)
Make glamor build with --enable-debug.
Bad anholt, no biscuit. Broken in commit 4c9a20072552c52b3763bd73e7a7e9b9cb8b4993. Signed-off-by: Jamey Sharp <jamey@minilop.net> Cc: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--glamor/glamor_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_core.c b/glamor/glamor_core.c
index 7b1615d2d..5b341d3aa 100644
--- a/glamor/glamor_core.c
+++ b/glamor/glamor_core.c
@@ -127,7 +127,7 @@ glamor_prepare_access(DrawablePtr drawable, glamor_access_t access)
*/
assert(!GLAMOR_PIXMAP_PRIV_HAS_FBO(pixmap_priv) ||
access == GLAMOR_ACCESS_RO ||
- pixmap_priv->base.mapped_for_write);
+ pixmap_priv->base.map_access == GLAMOR_ACCESS_RW);
return TRUE;
}
pixmap_priv->base.map_access = access;