This commit is contained in:
Benau 2022-05-03 09:32:14 +08:00
parent c739aeb758
commit 281ddb1b17

View File

@ -505,6 +505,9 @@ void IrrDriver::initDevice()
m_device->run();
m_device->drop();
m_device = NULL;
#if !defined(SERVER_ONLY)
GE::setVideoDriver(NULL);
#endif
params.ForceLegacyDevice = (UserConfigParams::m_force_legacy_device ||
UserConfigParams::m_gamepad_visualisation);