hedgewars/uChat.pas
changeset 10370 8676ef16c594
parent 10314 6691ebaa4f3a
child 10375 6d6adccd0d7d
--- a/hedgewars/uChat.pas	Fri Jul 25 20:42:06 2014 +0400
+++ b/hedgewars/uChat.pas	Sun Jul 27 22:47:52 2014 -0400
@@ -124,7 +124,7 @@
 
 
 // create and blit text shadow
-strSurface:= TTF_RenderUTF8_Solid(Fontz[font].Handle, Str2PChar(str), shadowcolor);
+strSurface:= TTF_RenderUTF8_Blended(Fontz[font].Handle, Str2PChar(str), shadowcolor);
 SDL_UpperBlit(strSurface, nil, resSurface, @dstrect);
 SDL_FreeSurface(strSurface);
 
@@ -133,7 +133,7 @@
 dstrect.y:= Padding;
 
 // create and blit text
-strSurface:= TTF_RenderUTF8_Solid(Fontz[font].Handle, Str2PChar(str), cl.color);
+strSurface:= TTF_RenderUTF8_Blended(Fontz[font].Handle, Str2PChar(str), cl.color);
 SDL_UpperBlit(strSurface, nil, resSurface, @dstrect);
 SDL_FreeSurface(strSurface);