Added calls when switching resolutions (based on

http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=39342&highlight=fullscreen
run() needs to be called).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-11-23 00:14:13 +00:00
parent 6166351e7a
commit 6b660b9fe6

View File

@ -347,6 +347,8 @@ void IrrDriver::doApplyResSettings()
//std::cout << "^^^^^^^^ Closing m_device ^^^^^^^^\n";
m_device->closeDevice();
m_device->clearSystemMessages();
m_device->run();
//std::cout << "^^^^^^^^ Dropping m_device ^^^^^^^^\n";
m_device->drop();
m_device = NULL;