Qt: Fix assertion tripping when starting fullscreen 2nd time
This commit is contained in:
parent
9b402a9f5f
commit
1dd2e0f498
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue