Fix crash when recreating irrlicht device
This commit is contained in:
parent
1703e829eb
commit
c929002eba
@ -673,6 +673,7 @@ void IrrDriver::initDevice()
|
||||
m_device->clearSystemMessages();
|
||||
m_device->run();
|
||||
m_device->drop();
|
||||
GE::setVideoDriver(NULL);
|
||||
|
||||
m_device = createDeviceEx(params);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user