d3d10core: Implement d3d10_depthstencil_state_GetPrivateData().

This commit is contained in:
Henri Verbeet 2015-03-09 11:47:07 +01:00 committed by Alexandre Julliard
parent f8656657fc
commit 11b4200012
1 changed files with 4 additions and 2 deletions

View File

@ -258,10 +258,12 @@ static void STDMETHODCALLTYPE d3d10_depthstencil_state_GetDevice(ID3D10DepthSten
static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_GetPrivateData(ID3D10DepthStencilState *iface, static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_GetPrivateData(ID3D10DepthStencilState *iface,
REFGUID guid, UINT *data_size, void *data) REFGUID guid, UINT *data_size, void *data)
{ {
FIXME("iface %p, guid %s, data_size %p, data %p stub!\n", struct d3d10_depthstencil_state *state = impl_from_ID3D10DepthStencilState(iface);
TRACE("iface %p, guid %s, data_size %p, data %p.\n",
iface, debugstr_guid(guid), data_size, data); iface, debugstr_guid(guid), data_size, data);
return E_NOTIMPL; return d3d10_get_private_data(&state->private_store, guid, data_size, data);
} }
static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_SetPrivateData(ID3D10DepthStencilState *iface, static HRESULT STDMETHODCALLTYPE d3d10_depthstencil_state_SetPrivateData(ID3D10DepthStencilState *iface,