Fixed resolution switch related crashes

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2009-12-30 18:30:13 +00:00
parent 60854b0d10
commit f5cec6b741

View File

@ -65,6 +65,7 @@ Screen::Screen()
void Screen::forgetWhatWasLoaded()
{
m_loaded = false;
m_inited = false;
m_widgets.clearAndDeleteAll();
}