bgfx: fix tgmj crash on resolution change (GitHub #5857) [Ryan Holtz

This commit is contained in:
Vas Crabb 2019-11-06 01:06:57 +11:00
parent 2012b38e1e
commit 06f99c21a0

View File

@ -491,6 +491,14 @@ uint32_t chain_manager::update_screen_textures(uint32_t view, render_primitive *
m_screen_palettes.push_back(palette);
}
}
else
{
m_screen_textures[screen] = texture;
if (palette)
{
m_screen_palettes[screen] = palette;
}
}
}
else
{