Qt: Fix assertion tripping when starting fullscreen 2nd time

This commit is contained in:
Connor McLaughlin 2020-04-25 14:26:57 +10:00
parent 9b402a9f5f
commit 1dd2e0f498
1 changed files with 1 additions and 0 deletions

View File

@ -343,6 +343,7 @@ void QtHostInterface::ReleaseHostDisplay()
getHostDisplay()->destroyDeviceContext(); getHostDisplay()->destroyDeviceContext();
emit destroyDisplayRequested(); emit destroyDisplayRequested();
m_display = nullptr; m_display = nullptr;
m_is_fullscreen = false;
} }
bool QtHostInterface::IsFullscreen() const bool QtHostInterface::IsFullscreen() const