=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d11: Implement d3d10_query_GetDesc().

Alexandre Julliard julliard at winehq.org
Fri Jun 9 12:43:58 CDT 2017


Module: wine
Branch: master
Commit: a695cc6caa4c9a2ce9c0da4757ced93ef79c4fae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a695cc6caa4c9a2ce9c0da4757ced93ef79c4fae

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Fri Jun  9 13:00:04 2017 +0200

d3d11: Implement d3d10_query_GetDesc().

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d11/async.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dlls/d3d11/async.c b/dlls/d3d11/async.c
index 4b290ad..c92e45f 100644
--- a/dlls/d3d11/async.c
+++ b/dlls/d3d11/async.c
@@ -1,5 +1,6 @@
 /*
  * 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
  * modify it under the terms of the GNU Lesser General Public
@@ -364,7 +365,11 @@ static UINT STDMETHODCALLTYPE d3d10_query_GetDataSize(ID3D10Query *iface)
 
 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 =




More information about the wine-cvs mailing list