Clear the gameinfo cache on device lost.
This commit is contained in:
parent
ed1360a478
commit
b88f428a67
4 changed files with 28 additions and 3 deletions
|
@ -422,6 +422,7 @@ void NativeUpdate(InputState &input)
|
|||
|
||||
void NativeDeviceLost()
|
||||
{
|
||||
g_gameInfoCache.Clear();
|
||||
screenManager->deviceLost();
|
||||
gl_lost();
|
||||
glstate.Restore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue