mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix entities text size not recreating new texture (fixes #2438)
This commit is contained in:
parent
d87add571f
commit
cf80537eb8
|
@ -185,6 +185,10 @@ void CMapImages::SetTextureScale(int Scale)
|
|||
Graphics()->UnloadTexture(m_OverlayTopTexture);
|
||||
Graphics()->UnloadTexture(m_OverlayCenterTexture);
|
||||
|
||||
m_OverlayBottomTexture = IGraphics::CTextureHandle();
|
||||
m_OverlayTopTexture = IGraphics::CTextureHandle();
|
||||
m_OverlayCenterTexture = IGraphics::CTextureHandle();
|
||||
|
||||
InitOverlayTextures();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue