Commit 701e5703 authored by Chip Davis's avatar Chip Davis Committed by Alexandre Julliard

d3d11: Implement d3d11_immediate_context_Flush().

parent 5d437b5c
......@@ -2396,7 +2396,13 @@ static void STDMETHODCALLTYPE d3d11_immediate_context_ClearState(ID3D11DeviceCon
static void STDMETHODCALLTYPE d3d11_immediate_context_Flush(ID3D11DeviceContext1 *iface)
{
FIXME("iface %p stub!\n", iface);
struct d3d_device *device = device_from_immediate_ID3D11DeviceContext1(iface);
TRACE("iface %p.\n", iface);
wined3d_mutex_lock();
wined3d_device_flush(device->wined3d_device);
wined3d_mutex_unlock();
}
static D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE d3d11_immediate_context_GetType(ID3D11DeviceContext1 *iface)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment