From: divverent Date: Mon, 25 Jan 2010 13:51:19 +0000 (+0000) Subject: only run the outline code if actually outlining :P X-Git-Tag: xonotic-v0.1.0preview~230^2~620 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=90f995e366f44806eed724459e0b6b219ffd1724;p=xonotic%2Fdarkplaces.git only run the outline code if actually outlining :P git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9849 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/ft2.c b/ft2.c index 775b9ea0..92630a38 100644 --- a/ft2.c +++ b/ft2.c @@ -595,7 +595,7 @@ void Font_Postprocess(unsigned char *imagedata, int pitch, int bpp, int w, int h // calculate gauss table // outline the font (RGBA only) - if(bpp == 4) // we can only do this in BGRA + if(bpp == 4 && (pp.outline > 0 || pp.blur > 0)) // we can only do this in BGRA { // this is like mplayer subtitle rendering // bbuffer, bitmap buffer: this is our font