=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d11: Implement d3d10_query_GetDataSize().
Alexandre Julliard
julliard at winehq.org
Thu Jul 7 09:48:23 CDT 2016
Module: wine
Branch: master
Commit: cc6be0c49e7507a4352a72d1dcdc65f5b32b4cee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc6be0c49e7507a4352a72d1dcdc65f5b32b4cee
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Thu Jul 7 12:22:28 2016 +0200
d3d11: Implement d3d10_query_GetDataSize().
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 | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d11/async.c b/dlls/d3d11/async.c
index 38c8a28..323a348 100644
--- a/dlls/d3d11/async.c
+++ b/dlls/d3d11/async.c
@@ -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 */
More information about the wine-cvs
mailing list