mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Print font name instead of address in log message, pFont
-> font
This commit is contained in:
parent
284b6cdd86
commit
16d9a69dd5
|
@ -719,7 +719,7 @@ public:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
dbg_msg("textrender", "loaded pFont from '%s'", pFilename);
|
||||
dbg_msg("textrender", "loaded font from '%s'", pFilename);
|
||||
|
||||
pFont->m_pBuf = (void *)pBuf;
|
||||
pFont->m_CurTextureDimensions[0] = 1024;
|
||||
|
@ -779,7 +779,7 @@ public:
|
|||
|
||||
void SetDefaultFont(CFont *pFont) override
|
||||
{
|
||||
dbg_msg("textrender", "default pFont set %p", pFont);
|
||||
dbg_msg("textrender", "default font set to '%s'", pFont->m_aFilename);
|
||||
m_pDefaultFont = pFont;
|
||||
m_pCurFont = m_pDefaultFont;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue