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>
This commit is contained in:
Chris Wilson 2013-02-11 12:31:18 +00:00
parent 3540554e5a
commit 47657e5355
1 changed files with 1 additions and 1 deletions

View File

@ -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);