mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Free Team Arena fonts/fontImage_X.dat buffer
Caused temp memory to be present all the time, so Hunk_Alloc ignored memory low/high preference. May have caused other issues as well.
This commit is contained in:
parent
817fe14dcb
commit
608e852ac6
1 changed files with 1 additions and 0 deletions
|
@ -401,6 +401,7 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) {
|
|||
font->glyphs[i].glyph = RE_RegisterShaderNoMip(font->glyphs[i].shaderName);
|
||||
}
|
||||
Com_Memcpy(®isteredFont[registeredFontCount++], font, sizeof(fontInfo_t));
|
||||
ri.FS_FreeFile(faceData);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue