Fix incorrect color emoji position after resizing window
This commit is contained in:
parent
4ad30fa2bf
commit
412f30d2c1
@ -2445,9 +2445,9 @@ void IrrDriver::resizeWindow()
|
|||||||
{
|
{
|
||||||
#ifndef SERVER_ONLY
|
#ifndef SERVER_ONLY
|
||||||
// Reload fonts
|
// Reload fonts
|
||||||
|
font_manager->getFont<RegularFace>()->init();
|
||||||
font_manager->getFont<BoldFace>()->init();
|
font_manager->getFont<BoldFace>()->init();
|
||||||
font_manager->getFont<DigitFace>()->init();
|
font_manager->getFont<DigitFace>()->init();
|
||||||
font_manager->getFont<RegularFace>()->init();
|
|
||||||
// Reload GUIEngine
|
// Reload GUIEngine
|
||||||
GUIEngine::reloadForNewSize();
|
GUIEngine::reloadForNewSize();
|
||||||
if (World::getWorld())
|
if (World::getWorld())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user