From dd439095c2e8c5c706225e48d64eaaeee3ea8ddb Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 27 Jan 2010 05:23:20 +0000 Subject: [PATCH] Try to fix a warning motorsep gets git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9870 d7cf8633-e32d-0410-b094-e92efae38249 --- ft2.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ft2.c b/ft2.c index f96322ca..29ddf924 100644 --- a/ft2.c +++ b/ft2.c @@ -529,13 +529,10 @@ static qboolean Font_LoadFile(const char *name, int _face, ft2_settings_t *setti void Font_Postprocess_Update(ft2_font_t *fnt, int bpp, int w, int h) { - qboolean need_gauss = false, need_circle = false; int needed, x, y; float gausstable[2*POSTPROCESS_MAXRADIUS+1]; - if(!pp.buf || pp.blur != fnt->settings->blur || pp.shadowz != fnt->settings->shadowz) - need_gauss = true; - if(!pp.buf || pp.outline != fnt->settings->outline || pp.shadowx != fnt->settings->shadowx || pp.shadowy != fnt->settings->shadowy) - need_circle = true; + qboolean need_gauss = (!pp.buf || pp.blur != fnt->settings->blur || pp.shadowz != fnt->settings->shadowz); + qboolean need_circle = (!pp.buf || pp.outline != fnt->settings->outline || pp.shadowx != fnt->settings->shadowx || pp.shadowy != fnt->settings->shadowy); pp.blur = fnt->settings->blur; pp.outline = fnt->settings->outline; pp.shadowx = fnt->settings->shadowx; -- 2.39.2