Commit ff129aba authored by Joshua Ashton's avatar Joshua Ashton 🐸

[d3d9] Fix crash when trying to present with a currently invalid presenter

Closes #1304
parent 0993f6f2
Pipeline #980 passed with stage
in 4 minutes and 10 seconds
......@@ -122,7 +122,9 @@ namespace dxvk {
m_dirty |= vsync != m_vsync;
m_dirty |= UpdatePresentRegion(pSourceRect, pDestRect);
m_dirty |= recreate;
m_dirty |= !m_presenter->hasSwapChain();
m_dirty |= m_presenter != nullptr &&
!m_presenter->hasSwapChain();
m_vsync = vsync;
m_dialogChanged = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment