mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 06:06:13 +00:00
d3d11: Implement d3d10_query_End().
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
718d3119e5
commit
2cadc6793b
1 changed files with 9 additions and 1 deletions
|
@ -279,7 +279,15 @@ static void STDMETHODCALLTYPE d3d10_query_Begin(ID3D10Query *iface)
|
|||
|
||||
static void STDMETHODCALLTYPE d3d10_query_End(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_END)))
|
||||
ERR("Failed to issue query, hr %#x.\n", hr);
|
||||
wined3d_mutex_unlock();
|
||||
}
|
||||
|
||||
static HRESULT STDMETHODCALLTYPE d3d10_query_GetData(ID3D10Query *iface, void *data, UINT data_size, UINT flags)
|
||||
|
|
Loading…
Reference in a new issue