Commit ffe18200 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d11: Pass normalized D3D11_DEPTH_STENCIL_DESC to wine_rb_put().

parent 66996c60
......@@ -762,7 +762,7 @@ HRESULT d3d_depthstencil_state_create(struct d3d_device *device, const D3D11_DEP
return hr;
}
if (wine_rb_put(&device->depthstencil_states, desc, &object->entry) == -1)
if (wine_rb_put(&device->depthstencil_states, &tmp_desc, &object->entry) == -1)
{
ERR("Failed to insert depthstencil state entry.\n");
d3d_depthstencil_state_cleanup(object);
......
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