Skip to content

Commit

Permalink
[d3d9] End scene on reset
Browse files Browse the repository at this point in the history
  • Loading branch information
K0bin authored and misyltoad committed Feb 20, 2024
1 parent 738fd4f commit 39c19e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/d3d9/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ namespace dxvk {
SetDepthStencilSurface(nullptr);
}

m_flags.clr(D3D9DeviceFlag::InScene);

/*
* Before calling the IDirect3DDevice9::Reset method for a device,
* an application should release any explicit render targets,
Expand Down

0 comments on commit 39c19e9

Please sign in to comment.