URL: <http://gna.org/patch/?4660>
Summary: Remove separate create_surf_alpha() from sdl2-client Project: Freeciv Submitted by: cazfi Submitted on: Sun 20 Apr 2014 02:55:41 AM EEST Category: client-sdl2 Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.6.0 _______________________________________________________ Details: Since surfaces are always created with alpha channel in sdl2-client, create_surf_alpha() is useless wrapper around create_surf(). Remove it. As usual for sdl2-client patch, I've included a lot of style cleanup around the places that actually change, justified by thinking that as there's no sdl2-client in older branches there's nothing the code should be similar to. However, I realize that this makes reviewing the patch harder, if someone really wants to do that. Tell me to stop the practice if it's not ok for you. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sun 20 Apr 2014 02:55:41 AM EEST Name: AlwaysAlphaSurface.patch.bz2 Size: 9kB By: cazfi <http://gna.org/patch/download.php?file_id=20528> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?4660> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev