Commit e55aca8f authored by Daniel Ansorregui's avatar Daniel Ansorregui Committed by Alexandre Julliard

d2d1: Use default NULL argument in SetBlendState call.

parent a4104c7c
......@@ -131,8 +131,6 @@ static void d2d_device_context_draw(struct d2d_device_context *render_target, en
D3D10_VIEWPORT vp;
HRESULT hr;
static const float blend_factor[] = {1.0f, 1.0f, 1.0f, 1.0f};
vp.TopLeftX = 0;
vp.TopLeftY = 0;
vp.Width = render_target->pixel_size.width;
......@@ -180,7 +178,7 @@ static void d2d_device_context_draw(struct d2d_device_context *render_target, en
ID3D10Device_OMSetRenderTargets(device, 1, &render_target->target->rtv, NULL);
if (brush)
{
ID3D10Device_OMSetBlendState(device, render_target->bs, blend_factor, D3D10_DEFAULT_SAMPLE_MASK);
ID3D10Device_OMSetBlendState(device, render_target->bs, NULL, D3D10_DEFAULT_SAMPLE_MASK);
d2d_brush_bind_resources(brush, device, 0);
}
if (opacity_brush)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment