[PATCH 3/8] d3d11: Pass normalized D3D11_DEPTH_STENCIL_DESC to wine_rb_put().
6 Sep
2018
6 Sep
'18
8:01 p.m.
Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> --- dlls/d3d11/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d11/state.c b/dlls/d3d11/state.c index 9848690d5fed..c36b87fbbd39 100644 --- a/dlls/d3d11/state.c +++ b/dlls/d3d11/state.c @@ -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); -- 2.16.4
2654
Age (days ago)
2655
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henri Verbeet -
Józef Kucia