Author: cazfi
Date: Mon Jan 12 22:35:40 2015
New Revision: 27656

URL: http://svn.gna.org/viewcvs/freeciv?rev=27656&view=rev
Log:
Fixed blitting with partial transparency in sdl2-client

See bug #23166

Modified:
    trunk/client/gui-sdl2/graphics.c

Modified: trunk/client/gui-sdl2/graphics.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-sdl2/graphics.c?rev=27656&r1=27655&r2=27656&view=diff
==============================================================================
--- trunk/client/gui-sdl2/graphics.c    (original)
+++ trunk/client/gui-sdl2/graphics.c    Mon Jan 12 22:35:40 2015
@@ -187,7 +187,7 @@
     return 1;
   }
 
-  SDL_SetSurfaceAlphaMod(dst, alpha_mod);
+  SDL_SetSurfaceAlphaMod(src, alpha_mod);
 
   ret = SDL_BlitSurface(src, srcrect, dst, dstrect);
 


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

Reply via email to