diff options
author | Zack Middleton <zturtleman@gmail.com> | 2012-03-29 05:31:18 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 20:19:21 +0000 |
commit | 6c43258ecc9664ef79ad4288e63e37b89270dc3e (patch) | |
tree | fb11e2c05208baf777faed8713dd4411c8429f42 | |
parent | 41cef6cb131c43e5429593ae99ef54d5e90ef603 (diff) |
Removed set but not used variable 'satLevels' from tr_font.c.
-rw-r--r-- | src/renderer/tr_font.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderer/tr_font.c b/src/renderer/tr_font.c index 02ccb80f..67bd72ed 100644 --- a/src/renderer/tr_font.c +++ b/src/renderer/tr_font.c @@ -339,7 +339,7 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) { #ifdef BUILD_FREETYPE FT_Face face; int j, k, xOut, yOut, lastStart, imageNumber; - int scaledSize, newSize, maxHeight, left, satLevels; + int scaledSize, newSize, maxHeight, left; unsigned char *out, *imageBuff; glyphInfo_t *glyph; image_t *image; @@ -477,7 +477,6 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) { imageBuff = ri.Malloc(newSize); left = 0; max = 0; - satLevels = 255; for ( k = 0; k < (scaledSize) ; k++ ) { if (max < out[k]) { max = out[k]; |