Fix entities text size not recreating new texture (fixes #2438)

This commit is contained in:
Jupeyy 2020-09-01 09:13:47 +02:00
parent d87add571f
commit cf80537eb8

View file

@ -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();
}
}