[image] Remove invalid assert.

The assert can fail for an error surface.

TODO: Decide what values should be returned from getters for error
surfaces.
This commit is contained in:
Chris Wilson 2008-10-28 10:00:38 +00:00
parent 9481d999df
commit 1327ec232c

View file

@ -572,8 +572,6 @@ cairo_image_surface_get_format (cairo_surface_t *surface)
return 0;
}
assert (CAIRO_FORMAT_VALID (image_surface->format));
return image_surface->format;
}