[quake3-commits] r2229 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Mar 29 01:31:19 EDT 2012


Author: ztm
Date: 2012-03-29 01:31:18 -0400 (Thu, 29 Mar 2012)
New Revision: 2229

Modified:
   trunk/code/renderer/tr_font.c
Log:
Removed set but not used variable 'satLevels' from tr_font.c.

Modified: trunk/code/renderer/tr_font.c
===================================================================
--- trunk/code/renderer/tr_font.c	2012-03-29 05:28:09 UTC (rev 2228)
+++ trunk/code/renderer/tr_font.c	2012-03-29 05:31:18 UTC (rev 2229)
@@ -338,7 +338,7 @@
 #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;
@@ -476,7 +476,6 @@
       imageBuff = ri.Malloc(newSize);
       left = 0;
       max = 0;
-      satLevels = 255;
       for ( k = 0; k < (scaledSize) ; k++ ) {
         if (max < out[k]) {
           max = out[k];



More information about the quake3-commits mailing list