28 Jun
2021
28 Jun
'21
3:12 p.m.
On Mon, 28 Jun 2021 at 09:18, Rémi Bernon <rbernon(a)codeweavers.com> wrote:
+ ID3D11Device1_GetImmediateContext1(device, &context); + ID3D11DeviceContext1_SwapDeviceContextState(context, render_target->d3d_state, &prev_state); + ID3D11DeviceContext1_ClearState(context);
- ID3D10Device_ClearState(device); - This is fine because it retains the existing behaviour, but note that now that we have our own D3DDeviceContextState, clearing the device context state should be superfluous, and we could get rid of it in a subsequent patch.