From 47657e5355103b2e61da6f059c560e63fe13b0ed Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 11 Feb 2013 12:31:18 +0000 Subject: [PATCH] sna/dri: Ignore a compiler barf breaking an assertion Manual confirmation with gdb says all is fine and things work again after printing the variables responsible. The curious reader is welcome to read the disassembly to find where the compiler goofed. Signed-off-by: Chris Wilson --- src/sna/sna_dri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index 7ad83fc8..c0caab10 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -375,7 +375,7 @@ sna_dri_create_buffer(DrawablePtr draw, assert(sna_pixmap_get_buffer(pixmap) == NULL); sna_pixmap_set_buffer(pixmap, buffer); - assert(sna_pixmap_get_buffer(pixmap) == buffer); + //assert(sna_pixmap_get_buffer(pixmap) == buffer); pixmap->refcnt++; priv = sna_pixmap(pixmap);