d3d11: Implement d3d10_query_Begin().

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 2016-07-07 12:22:29 +02:00 committed by Alexandre Julliard
parent cc6be0c49e
commit 718d3119e5
1 changed files with 9 additions and 1 deletions

View File

@ -266,7 +266,15 @@ static HRESULT STDMETHODCALLTYPE d3d10_query_SetPrivateDataInterface(ID3D10Query
static void STDMETHODCALLTYPE d3d10_query_Begin(ID3D10Query *iface) static void STDMETHODCALLTYPE d3d10_query_Begin(ID3D10Query *iface)
{ {
FIXME("iface %p stub!\n", iface); struct d3d_query *query = impl_from_ID3D10Query(iface);
HRESULT hr;
TRACE("iface %p.\n", iface);
wined3d_mutex_lock();
if (FAILED(hr = wined3d_query_issue(query->wined3d_query, WINED3DISSUE_BEGIN)))
ERR("Failed to issue query, hr %#x.\n", hr);
wined3d_mutex_unlock();
} }
static void STDMETHODCALLTYPE d3d10_query_End(ID3D10Query *iface) static void STDMETHODCALLTYPE d3d10_query_End(ID3D10Query *iface)