Henri Verbeet : d3d10core: Implement d3d10_blend_state_SetPrivateDataInterface().

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 9 08:43:18 CDT 2015


Module: wine
Branch: master
Commit: e6aabcd7169218549167c776cff7507a1efad6af
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e6aabcd7169218549167c776cff7507a1efad6af

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Mar  9 11:47:03 2015 +0100

d3d10core: Implement d3d10_blend_state_SetPrivateDataInterface().

---

 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 8d2dae1..b5d8cf8 100644
--- a/dlls/d3d10core/state.c
+++ b/dlls/d3d10core/state.c
@@ -121,9 +121,11 @@ static HRESULT STDMETHODCALLTYPE d3d10_blend_state_SetPrivateData(ID3D10BlendSta
 static HRESULT STDMETHODCALLTYPE d3d10_blend_state_SetPrivateDataInterface(ID3D10BlendState *iface,
         REFGUID guid, const IUnknown *data)
 {
-    FIXME("iface %p, guid %s, data %p stub!\n", iface, debugstr_guid(guid), data);
+    struct d3d10_blend_state *state = impl_from_ID3D10BlendState(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);
 }
 
 /* ID3D10BlendState methods */




More information about the wine-cvs mailing list