[PATCH 4/5] d3d10core: Implement d3d10_depthstencil_state_SetPrivateDataInterface().

Henri Verbeet hverbeet at codeweavers.com
Mon Mar 9 05:47:06 CDT 2015


---
 dlls/d3d10core/state.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d10core/state.c b/dlls/d3d10core/state.c
index feecfb6..51a797c 100644
--- a/dlls/d3d10core/state.c
+++ b/dlls/d3d10core/state.c
@@ -278,9 +278,11 @@ static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_SetPrivateData(ID3D10D
 static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_SetPrivateDataInterface(ID3D10DepthStencilState *iface,
         REFGUID guid, const IUnknown *data)
 {
-    FIXME("iface %p, guid %s, data %p stub!\n", iface, debugstr_guid(guid), data);
+    struct d3d10_depthstencil_state *state = impl_from_ID3D10DepthStencilState(iface);
 
-    return E_NOTIMPL;
+    TRACE("iface %p, guid %s, data %p.\n", iface, debugstr_guid(guid), data);
+
+    return d3d10_set_private_data_interface(&state->private_store, guid, data);
 }
 
 /* ID3D10DepthStencilState methods */
-- 
1.7.10.4




More information about the wine-patches mailing list