#44931: sdl2: Pass SDL_Rect pointers instead of full copies Open Date: 2022-06-25 00:03 Last Update: 2022-06-25 00:03 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44931 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44931 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-06-25 00:03 Updated by: cazfi * New Ticket "sdl2: Pass SDL_Rect pointers instead of full copies" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: SDL2-client Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: sdl2-client functions is_in_rect_area() and get_smaller_surface_rect() pass around copies of SDL_Rect while pointers could be used. -- 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/44931 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44931