Commit cc6be0c4 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

d3d11: Implement d3d10_query_GetDataSize().

parent f7b6a7d7
......@@ -283,9 +283,16 @@ static HRESULT STDMETHODCALLTYPE d3d10_query_GetData(ID3D10Query *iface, void *d
static UINT STDMETHODCALLTYPE d3d10_query_GetDataSize(ID3D10Query *iface)
{
FIXME("iface %p stub!\n", iface);
struct d3d_query *query = impl_from_ID3D10Query(iface);
unsigned int data_size;
TRACE("iface %p.\n", iface);
return 0;
wined3d_mutex_lock();
data_size = wined3d_query_get_data_size(query->wined3d_query);
wined3d_mutex_unlock();
return data_size;
}
/* ID3D10Query methods */
......
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