Clear the gameinfo cache on device lost.

This commit is contained in:
Henrik Rydgard 2013-04-14 11:58:28 +02:00
parent ed1360a478
commit b88f428a67
4 changed files with 28 additions and 3 deletions

View file

@ -422,6 +422,7 @@ void NativeUpdate(InputState &input)
void NativeDeviceLost()
{
g_gameInfoCache.Clear();
screenManager->deviceLost();
gl_lost();
glstate.Restore();