Follow-up Comment #6, bug #21373 (project freeciv):

> I think the format assumption documented by that assertion in
> sprite_get_bounding_box() is at the mercy of the behaviour of
> cairo_image_surface_create_from_png() called from our
> load_gfxfile().

Adding fc_assert(cairo_image_surface_get_format(sprite->surface) ==
CAIRO_FORMAT_ARGB32); immediately after cairo_image_surface_create_from_png()
fails sometimes, so this indeed is the problem point. 


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to