[Freeciv-Dev] [bug #21373] Switching between nationsets causes Cairo-related assertion failure for flags
Update of bug #21373 (project freeciv): Status:None = Fixed Assigned to:None = cazfi Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?21373 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21373] Switching between nationsets causes Cairo-related assertion failure for flags
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: http://gna.org/bugs/?21373 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21373] Switching between nationsets causes Cairo-related assertion failure for flags
Update of bug #21373 (project freeciv): Planned Release: 2.6.0 = 2.4.4, 2.5.0, 2.6.0 ___ Follow-up Comment #7: Fix to problem of loading images with no alpha channel (RGB24). Convert such surfaces to ARGB32. Unfortunately this is not the only bug there. This fixes loading of some specific flags only. Many more still load up being broken, but I'm going to open new ticket about those. (file #21687) ___ Additional Item Attachment: File name: LoadRGB24.patchSize:1 KB ___ Reply to this item at: http://gna.org/bugs/?21373 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21373] Switching between nationsets causes Cairo-related assertion failure for flags
Follow-up Comment #5, bug #21373 (project freeciv): Ran into bug #21692 when I came to look at this; maybe related? ___ Reply to this item at: http://gna.org/bugs/?21373 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21373] Switching between nationsets causes Cairo-related assertion failure for flags
Update of bug #21373 (project freeciv): Summary: Switching between nationsets cause assert failure = Switching between nationsets causes Cairo-related assertion failure for flags ___ Reply to this item at: http://gna.org/bugs/?21373 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev