Author: cazfi
Date: Mon Sep 28 20:38:15 2015
New Revision: 29992

URL: http://svn.gna.org/viewcvs/freeciv?rev=29992&view=rev
Log:
Sdl2-client sprite creation to respect alpha channel of the filling color

See patch #6376

Modified:
    branches/S2_6/client/gui-sdl2/sprite.c

Modified: branches/S2_6/client/gui-sdl2/sprite.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-sdl2/sprite.c?rev=29992&r1=29991&r2=29992&view=diff
==============================================================================
--- branches/S2_6/client/gui-sdl2/sprite.c      (original)
+++ branches/S2_6/client/gui-sdl2/sprite.c      Mon Sep 28 20:38:15 2015
@@ -141,7 +141,7 @@
                            pcolor->color->r,
                            pcolor->color->g,
                            pcolor->color->b,
-                           255));
+                           pcolor->color->a));
 
   return ctor_sprite(mypixbuf);
 }


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to