mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-24 12:42:30 +00:00
IOQ3 commit 2229
This commit is contained in:
parent
6c68ea0d05
commit
413bbc7f93
1 changed files with 1 additions and 2 deletions
|
@ -338,7 +338,7 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) {
|
||||||
#ifdef BUILD_FREETYPE
|
#ifdef BUILD_FREETYPE
|
||||||
FT_Face face;
|
FT_Face face;
|
||||||
int j, k, xOut, yOut, lastStart, imageNumber;
|
int j, k, xOut, yOut, lastStart, imageNumber;
|
||||||
int scaledSize, newSize, maxHeight, left, satLevels;
|
int scaledSize, newSize, maxHeight, left;
|
||||||
unsigned char *out, *imageBuff;
|
unsigned char *out, *imageBuff;
|
||||||
glyphInfo_t *glyph;
|
glyphInfo_t *glyph;
|
||||||
image_t *image;
|
image_t *image;
|
||||||
|
@ -476,7 +476,6 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) {
|
||||||
imageBuff = ri.Malloc(newSize);
|
imageBuff = ri.Malloc(newSize);
|
||||||
left = 0;
|
left = 0;
|
||||||
max = 0;
|
max = 0;
|
||||||
satLevels = 255;
|
|
||||||
for ( k = 0; k < (scaledSize) ; k++ ) {
|
for ( k = 0; k < (scaledSize) ; k++ ) {
|
||||||
if (max < out[k]) {
|
if (max < out[k]) {
|
||||||
max = out[k];
|
max = out[k];
|
||||||
|
|
Loading…
Reference in a new issue