summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/renderer/tr_font.c3
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];