d2d1: Do not clear the device context state in d2d_device_context_draw().

Clearing the state should no longer be needed now that we use
SwapDeviceContextState() and have our own dedicated state object.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2021-07-05 17:02:34 +02:00 committed by Alexandre Julliard
parent 78bdc84bcb
commit da44bcc9d0
1 changed files with 0 additions and 1 deletions

View File

@ -139,7 +139,6 @@ static void d2d_device_context_draw(struct d2d_device_context *render_target, en
ID3D11Device1_GetImmediateContext1(device, &context);
ID3D11DeviceContext1_SwapDeviceContextState(context, render_target->d3d_state, &prev_state);
ID3D11DeviceContext1_ClearState(context);
ID3D11DeviceContext1_IASetInputLayout(context, shape_resources->il);
ID3D11DeviceContext1_IASetPrimitiveTopology(context, D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST);