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:
parent
60854b0d10
commit
f5cec6b741
@ -65,6 +65,7 @@ Screen::Screen()
|
||||
void Screen::forgetWhatWasLoaded()
|
||||
{
|
||||
m_loaded = false;
|
||||
m_inited = false;
|
||||
m_widgets.clearAndDeleteAll();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user