Henri Verbeet : d3d10core: Implement d3d10_texture3d_SetPrivateDataInterface().

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 11 10:00:43 CDT 2015


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Mar 11 11:13:52 2015 +0100

d3d10core: Implement d3d10_texture3d_SetPrivateDataInterface().

---

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

diff --git a/dlls/d3d10core/texture.c b/dlls/d3d10core/texture.c
index 0ddba7f..67ccbb5 100644
--- a/dlls/d3d10core/texture.c
+++ b/dlls/d3d10core/texture.c
@@ -463,9 +463,11 @@ static HRESULT STDMETHODCALLTYPE d3d10_texture3d_SetPrivateData(ID3D10Texture3D
 static HRESULT STDMETHODCALLTYPE d3d10_texture3d_SetPrivateDataInterface(ID3D10Texture3D *iface,
         REFGUID guid, const IUnknown *data)
 {
-    FIXME("iface %p, guid %s, data %p stub!\n", iface, debugstr_guid(guid), data);
+    struct d3d10_texture3d *texture = impl_from_ID3D10Texture3D(iface);
 
-    return E_NOTIMPL;
+    TRACE("iface %p, guid %s, data %p.\n", iface, debugstr_guid(guid), data);
+
+    return d3d10_set_private_data_interface(&texture->private_store, guid, data);
 }
 
 static void STDMETHODCALLTYPE d3d10_texture3d_GetType(ID3D10Texture3D *iface,




More information about the wine-cvs mailing list