1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 10:54:16 +01:00

[d3d9] Fix clearing render targets on device reset

This commit is contained in:
Joshua Ashton 2021-07-24 21:39:39 +01:00 committed by Philip Rebohle
parent a9c185d01a
commit b8a4b85c48
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -6799,7 +6799,7 @@ namespace dxvk {
SetDepthStencilSurface(nullptr);
for (uint32_t i = 1; i < caps::MaxSimultaneousRenderTargets; i++)
SetRenderTarget(0, nullptr);
SetRenderTarget(i, nullptr);
auto& rs = m_state.renderStates;