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

d3d11: Implement d3d10_query_GetDesc().

parent 2fb2836b
/* /*
* Copyright 2009 Henri Verbeet for CodeWeavers * Copyright 2009 Henri Verbeet for CodeWeavers
* Copyright 2015-2017 Józef Kucia for CodeWeavers
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
...@@ -364,7 +365,11 @@ static UINT STDMETHODCALLTYPE d3d10_query_GetDataSize(ID3D10Query *iface) ...@@ -364,7 +365,11 @@ static UINT STDMETHODCALLTYPE d3d10_query_GetDataSize(ID3D10Query *iface)
static void STDMETHODCALLTYPE d3d10_query_GetDesc(ID3D10Query *iface, D3D10_QUERY_DESC *desc) static void STDMETHODCALLTYPE d3d10_query_GetDesc(ID3D10Query *iface, D3D10_QUERY_DESC *desc)
{ {
FIXME("iface %p, desc %p stub!\n", iface, desc); struct d3d_query *query = impl_from_ID3D10Query(iface);
TRACE("iface %p, desc %p.\n", iface, desc);
memcpy(desc, &query->desc, sizeof(*desc));
} }
static const struct ID3D10QueryVtbl d3d10_query_vtbl = static const struct ID3D10QueryVtbl d3d10_query_vtbl =
......
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