diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-11 12:31:18 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-11 12:31:18 +0000 |
commit | 47657e5355103b2e61da6f059c560e63fe13b0ed (patch) | |
tree | cc7f25d43247c63c9bbcdb24b35f80bb74fc673f | |
parent | 3540554e5a74ccd2ca746482700a9f5657954227 (diff) |
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 <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |