d3d11: Implement d3d11_immediate_context_Unmap().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2015-11-02 17:12:29 +01:00 committed by Alexandre Julliard
parent 75db69ad02
commit 825c675ebe
1 changed files with 9 additions and 1 deletions

View File

@ -229,7 +229,15 @@ static HRESULT STDMETHODCALLTYPE d3d11_immediate_context_Map(ID3D11DeviceContext
static void STDMETHODCALLTYPE d3d11_immediate_context_Unmap(ID3D11DeviceContext *iface, ID3D11Resource *resource,
UINT subresource_idx)
{
FIXME("iface %p, resource %p, subresource_idx %u stub!\n", iface, resource, subresource_idx);
struct wined3d_resource *wined3d_resource;
TRACE("iface %p, resource %p, subresource_idx %u.\n", iface, resource, subresource_idx);
wined3d_resource = wined3d_resource_from_d3d11_resource(resource);
wined3d_mutex_lock();
wined3d_resource_unmap(wined3d_resource, subresource_idx);
wined3d_mutex_unlock();
}
static void STDMETHODCALLTYPE d3d11_immediate_context_PSSetConstantBuffers(ID3D11DeviceContext *iface,