Author: mordante
Date: Thu Mar 20 19:47:11 2008
New Revision: 24906

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24906&view=rev
Log:
A hack to make the letters show up a bit readable it does however
clear the back ground. This needs to be fixed but don't want to stall
development too long on it.

Modified:
    trunk/src/gui/widgets/canvas.cpp

Modified: trunk/src/gui/widgets/canvas.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/canvas.cpp?rev=24906&r1=24905&r2=24906&view=diff
==============================================================================
--- trunk/src/gui/widgets/canvas.cpp (original)
+++ trunk/src/gui/widgets/canvas.cpp Thu Mar 20 19:47:11 2008
@@ -627,6 +627,11 @@
        unsigned h_max = h_ - y_ - y_off;
 
        SDL_Rect dst = { x_ + x_off, y_ + y_off, w_max, h_max };
+
+       // A hack to make the letters show up a bit readable it does however
+       // clear the back ground. This needs to be fixed but don't want to stall
+       // development too long on it.
+       SDL_SetAlpha(surf, 0, 0);
        SDL_BlitSurface(surf, 0, canvas, &dst);
 }
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to