Commit 0ed857fd authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10core: Set the initial blend factors to 1.0f.

parent 2f67b139
......@@ -2324,6 +2324,10 @@ HRESULT d3d10_device_init(struct d3d10_device *device, void *outer_unknown)
WARN("Failed to initialize blend state rbtree.\n");
return E_FAIL;
}
device->blend_factor[0] = 1.0f;
device->blend_factor[1] = 1.0f;
device->blend_factor[2] = 1.0f;
device->blend_factor[3] = 1.0f;
if (wine_rb_init(&device->depthstencil_states, &d3d10_depthstencil_state_rb_ops) == -1)
{
......
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