d3d10core: Implement d3d10_sampler_state_GetPrivateData().

This commit is contained in:
Henri Verbeet 2015-03-11 11:13:50 +01:00 committed by Alexandre Julliard
parent b211f9123b
commit f205b413f4
1 changed files with 4 additions and 2 deletions

View File

@ -574,10 +574,12 @@ static void STDMETHODCALLTYPE d3d10_sampler_state_GetDevice(ID3D10SamplerState *
static HRESULT STDMETHODCALLTYPE d3d10_sampler_state_GetPrivateData(ID3D10SamplerState *iface,
REFGUID guid, UINT *data_size, void *data)
{
FIXME("iface %p, guid %s, data_size %p, data %p stub!\n",
struct d3d10_sampler_state *state = impl_from_ID3D10SamplerState(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(&state->private_store, guid, data_size, data);
}
static HRESULT STDMETHODCALLTYPE d3d10_sampler_state_SetPrivateData(ID3D10SamplerState *iface,