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();
|
DestroySystem();
|
||||||
|
|
||||||
|
CommonHostInterface::Shutdown();
|
||||||
|
|
||||||
if (m_display)
|
if (m_display)
|
||||||
{
|
{
|
||||||
DestroyDisplay();
|
DestroyDisplay();
|
||||||
|
@ -428,8 +430,6 @@ void SDLHostInterface::Shutdown()
|
||||||
|
|
||||||
if (m_window)
|
if (m_window)
|
||||||
DestroySDLWindow();
|
DestroySDLWindow();
|
||||||
|
|
||||||
CommonHostInterface::Shutdown();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string SDLHostInterface::GetStringSettingValue(const char* section, const char* key,
|
std::string SDLHostInterface::GetStringSettingValue(const char* section, const char* key,
|
||||||
|
|
Loading…
Reference in New Issue