mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 22:29:15 +01:00
[d3d9] Fix crash when trying to present with a currently invalid presenter
Closes #1304
This commit is contained in:
parent
0993f6f25d
commit
ff129abaf0
@ -122,7 +122,9 @@ namespace dxvk {
|
|||||||
m_dirty |= vsync != m_vsync;
|
m_dirty |= vsync != m_vsync;
|
||||||
m_dirty |= UpdatePresentRegion(pSourceRect, pDestRect);
|
m_dirty |= UpdatePresentRegion(pSourceRect, pDestRect);
|
||||||
m_dirty |= recreate;
|
m_dirty |= recreate;
|
||||||
m_dirty |= !m_presenter->hasSwapChain();
|
m_dirty |= m_presenter != nullptr &&
|
||||||
|
!m_presenter->hasSwapChain();
|
||||||
|
|
||||||
m_vsync = vsync;
|
m_vsync = vsync;
|
||||||
|
|
||||||
m_dialogChanged = false;
|
m_dialogChanged = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user