Author: cazfi
Date: Sun Feb 15 20:21:41 2015
New Revision: 28158

URL: http://svn.gna.org/viewcvs/freeciv?rev=28158&view=rev
Log:
Use alphablit() to draw sdl2-client cursor.

See patch #5825

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

Modified: branches/S2_6/client/gui-sdl2/gui_mouse.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-sdl2/gui_mouse.c?rev=28158&r1=28157&r2=28158&view=diff
==============================================================================
--- branches/S2_6/client/gui-sdl2/gui_mouse.c   (original)
+++ branches/S2_6/client/gui-sdl2/gui_mouse.c   Sun Feb 15 20:21:41 2015
@@ -113,7 +113,7 @@
       area.h = current_color_cursor.cursor->h;
 
       /* show cursor */
-      SDL_BlitSurface(current_color_cursor.cursor, NULL, Main.mainsurf, &area);
+      alphablit(current_color_cursor.cursor, NULL, Main.mainsurf, &area, 255);
       /* update screen */
       update_main_screen();
 #if 0


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

Reply via email to