From 57c76e10e0cc07316eb614500de344bc6d0ecbc6 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 12 Mar 2015 10:08:36 +0100 Subject: [PATCH] d3d10core: Implement d3d10_rendertarget_view_GetPrivateData(). --- dlls/d3d10core/view.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/d3d10core/view.c b/dlls/d3d10core/view.c index 2b85161a571..3576e4a5e82 100644 --- a/dlls/d3d10core/view.c +++ b/dlls/d3d10core/view.c @@ -676,10 +676,12 @@ static void STDMETHODCALLTYPE d3d10_rendertarget_view_GetDevice(ID3D10RenderTarg static HRESULT STDMETHODCALLTYPE d3d10_rendertarget_view_GetPrivateData(ID3D10RenderTargetView *iface, REFGUID guid, UINT *data_size, void *data) { - FIXME("iface %p, guid %s, data_size %p, data %p stub!\n", + struct d3d10_rendertarget_view *view = impl_from_ID3D10RenderTargetView(iface); + + TRACE("iface %p, guid %s, data_size %p, data %p.\n", iface, debugstr_guid(guid), data_size, data); - return E_NOTIMPL; + return d3d10_get_private_data(&view->private_store, guid, data_size, data); } static HRESULT STDMETHODCALLTYPE d3d10_rendertarget_view_SetPrivateData(ID3D10RenderTargetView *iface, -- 2.11.4.GIT