From 90f995e366f44806eed724459e0b6b219ffd1724 Mon Sep 17 00:00:00 2001
From: divverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Mon, 25 Jan 2010 13:51:19 +0000
Subject: [PATCH] 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
---
 ft2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.39.5