Fix recreate device crash

This commit is contained in:
Benau 2021-04-20 16:04:29 +08:00
parent b21c620fea
commit 62bf288530

View File

@ -611,6 +611,7 @@ void IrrDriver::initDevice()
Log::fatal("irr_driver", "Couldn't initialise irrlicht device. Quitting.\n"); Log::fatal("irr_driver", "Couldn't initialise irrlicht device. Quitting.\n");
} }
GE::init(m_device->getVideoDriver());
CVS->init(); CVS->init();
} }
#endif #endif