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

d3d11: Simplify d3d10_query_GetData().

parent 68c3df90
......@@ -334,11 +334,8 @@ static HRESULT STDMETHODCALLTYPE d3d10_query_GetData(ID3D10Query *iface, void *d
&& data_size == sizeof(D3D10_QUERY_DATA_PIPELINE_STATISTICS))
{
data_size = sizeof(D3D11_QUERY_DATA_PIPELINE_STATISTICS);
if (data)
{
d3d10_data_pointer = data;
data = &d3d11_data;
}
d3d10_data_pointer = data;
data = &d3d11_data;
}
wined3d_flags = wined3d_getdata_flags_from_d3d11_async_getdata_flags(flags);
......
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