Skip to content

Commit

Permalink
[d3d9] Fix clearing render targets on device reset
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad authored and doitsujin committed Jul 26, 2021
1 parent a9c185d commit b8a4b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d9/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b8a4b85

Please sign in to comment.