mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 20:40:30 +00:00
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:
parent
75db69ad02
commit
825c675ebe
|
@ -229,7 +229,15 @@ static HRESULT STDMETHODCALLTYPE d3d11_immediate_context_Map(ID3D11DeviceContext
|
||||||
static void STDMETHODCALLTYPE d3d11_immediate_context_Unmap(ID3D11DeviceContext *iface, ID3D11Resource *resource,
|
static void STDMETHODCALLTYPE d3d11_immediate_context_Unmap(ID3D11DeviceContext *iface, ID3D11Resource *resource,
|
||||||
UINT subresource_idx)
|
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,
|
static void STDMETHODCALLTYPE d3d11_immediate_context_PSSetConstantBuffers(ID3D11DeviceContext *iface,
|
||||||
|
|
Loading…
Reference in a new issue