mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Increase default font texture size
This commit is contained in:
parent
8239836a02
commit
b0bd0a8c62
|
@ -654,10 +654,10 @@ public:
|
|||
|
||||
dbg_msg("textrender", "loaded pFont from '%s'", pFilename);
|
||||
|
||||
pFont->m_CurTextureDimensions[0] = 256;
|
||||
pFont->m_CurTextureDimensions[0] = 1024;
|
||||
pFont->m_TextureData[0] = new unsigned char[pFont->m_CurTextureDimensions[0] * pFont->m_CurTextureDimensions[0]];
|
||||
mem_zero(pFont->m_TextureData[0], pFont->m_CurTextureDimensions[0] * pFont->m_CurTextureDimensions[0] * sizeof(unsigned char));
|
||||
pFont->m_CurTextureDimensions[1] = 256;
|
||||
pFont->m_CurTextureDimensions[1] = 1024;
|
||||
pFont->m_TextureData[1] = new unsigned char[pFont->m_CurTextureDimensions[1] * pFont->m_CurTextureDimensions[1]];
|
||||
mem_zero(pFont->m_TextureData[1], pFont->m_CurTextureDimensions[1] * pFont->m_CurTextureDimensions[1] * sizeof(unsigned char));
|
||||
|
||||
|
|
Loading…
Reference in a new issue