mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Prevent the skip of the glyph if it does not fit
This commit is contained in:
parent
d79fe65878
commit
213b8e2435
1 changed files with 2 additions and 1 deletions
|
@ -503,7 +503,8 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) {
|
||||||
xOut = 0;
|
xOut = 0;
|
||||||
yOut = 0;
|
yOut = 0;
|
||||||
ri.Free(imageBuff);
|
ri.Free(imageBuff);
|
||||||
i++;
|
if(i == GLYPH_END)
|
||||||
|
i++;
|
||||||
} else {
|
} else {
|
||||||
Com_Memcpy(&font->glyphs[i], glyph, sizeof(glyphInfo_t));
|
Com_Memcpy(&font->glyphs[i], glyph, sizeof(glyphInfo_t));
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in a new issue