#44892: sdl2: SDL_GetColorKey() assumed to success Open Date: 2022-06-21 12:54 Last Update: 2022-06-27 05:03 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44892 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44892 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-27 05:03 Updated by: cazfi * Status Update from Open to Closed * Resolution Update from Accepted to Fixed --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Closed Priority: 5 - Medium MileStone: 3.0.3 Component: SDL2-client Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: sdl2-client get_smaller_surface_rect() calls SDL_GetColorKey(), assumes it success, and goes on using the key. The problem is, we don't set the key for most surfaces, and often that call actually fails. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44892 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44892