Don't crash in DeviceLost before game init.

This commit is contained in:
Unknown W. Brackets 2013-07-27 01:05:00 -07:00
parent b9862c29a0
commit 7d6538bd0b

View File

@ -548,5 +548,6 @@ void EmuScreen::render() {
void EmuScreen::deviceLost() {
ILOG("EmuScreen::deviceLost()");
gpu->DeviceLost();
if (gpu)
gpu->DeviceLost();
}