[PATCH 4/5] d3d10core: Set the initial blend factors to 1.0f.
Henri Verbeet
hverbeet at codeweavers.com
Thu Sep 18 03:56:28 CDT 2014
---
dlls/d3d10core/device.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/d3d10core/device.c b/dlls/d3d10core/device.c
index f8c9d37..a1ecd5c 100644
--- a/dlls/d3d10core/device.c
+++ b/dlls/d3d10core/device.c
@@ -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)
{
--
1.7.10.4
More information about the wine-patches
mailing list