summaryrefslogtreecommitdiff
path: root/src/cairo-debug.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-05-26 15:52:30 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-01 18:04:12 +0100
commitc5e85835b29c7654e1c28a90b2e587afba7b6f0f (patch)
treec995675b27efc0c3f747ce201a12ebcf0ba5ee7f /src/cairo-debug.c
parent4232719af968ed05636fe34f2ffe2520dc02d737 (diff)
downloadcairo-c5e85835b29c7654e1c28a90b2e587afba7b6f0f.tar.gz
[debug] Relax ASSERT_NOT_REACHED
Need to actually handle random pixman image formats... For the time being, ignore them.
Diffstat (limited to 'src/cairo-debug.c')
-rw-r--r--src/cairo-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-debug.c b/src/cairo-debug.c
index d463be29d..2270249aa 100644
--- a/src/cairo-debug.c
+++ b/src/cairo-debug.c
@@ -107,7 +107,7 @@ _cairo_debug_check_image_surface_is_defined (const cairo_surface_t *surface)
width = image->width*4;
break;
default:
- ASSERT_NOT_REACHED;
+ /* XXX compute width from pixman bpp */
return;
}