Author: cazfi
Date: Mon Jan 12 22:35:46 2015
New Revision: 27657

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

See bug #23166

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

Modified: branches/S2_6/client/gui-sdl2/graphics.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-sdl2/graphics.c?rev=27657&r1=27656&r2=27657&view=diff
==============================================================================
--- branches/S2_6/client/gui-sdl2/graphics.c    (original)
+++ branches/S2_6/client/gui-sdl2/graphics.c    Mon Jan 12 22:35:46 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