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:
parent
a9c185d01a
commit
b8a4b85c48
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user