SDL: Fix crash on shutdown when save state selector used
This commit is contained in:
parent
976d4bae79
commit
4f8fd049d0
|
@ -420,6 +420,8 @@ void SDLHostInterface::Shutdown()
|
|||
{
|
||||
DestroySystem();
|
||||
|
||||
CommonHostInterface::Shutdown();
|
||||
|
||||
if (m_display)
|
||||
{
|
||||
DestroyDisplay();
|
||||
|
@ -428,8 +430,6 @@ void SDLHostInterface::Shutdown()
|
|||
|
||||
if (m_window)
|
||||
DestroySDLWindow();
|
||||
|
||||
CommonHostInterface::Shutdown();
|
||||
}
|
||||
|
||||
std::string SDLHostInterface::GetStringSettingValue(const char* section, const char* key,
|
||||
|
|
Loading…
Reference in New Issue