From 4d6ab2c32d99108d5aced58a0d076d1b4b10e145 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Tue, 5 Aug 2014 18:17:57 +0300 Subject: [PATCH] Fixed rendering of bitmap fonts shadow --- client/gui/Fonts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gui/Fonts.cpp b/client/gui/Fonts.cpp index 6fed50543..af02247f8 100644 --- a/client/gui/Fonts.cpp +++ b/client/gui/Fonts.cpp @@ -164,7 +164,7 @@ void CBitmapFont::renderCharacter(SDL_Surface * surface, const BitmapChar & char switch(srcLine[dx]) { case 1: //black "shadow" - std::fill(dstPixel, dstPixel + bpp, 0); + colorPutter(dstPixel, 0, 0, 0); break; case 255: //text colour colorPutter(dstPixel, color.r, color.g, color.b);