mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 13:58:01 +02:00
[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:
parent
9481d999df
commit
1327ec232c
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue