mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-11 07:11:36 +00:00
Merge pull request #5 from morturp/patch-1
Prevent the skip of the glyph if it does not fit
This commit is contained in:
commit
817fe14dcb
1 changed files with 2 additions and 1 deletions
|
@ -503,6 +503,7 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) {
|
|||
xOut = 0;
|
||||
yOut = 0;
|
||||
ri.Free(imageBuff);
|
||||
if(i == GLYPH_END)
|
||||
i++;
|
||||
} else {
|
||||
Com_Memcpy(&font->glyphs[i], glyph, sizeof(glyphInfo_t));
|
||||
|
|
Loading…
Reference in a new issue