Matteo Bruni : wined3d: Get rid of a WARN in wined3d_query_get_data().

Alexandre Julliard julliard at winehq.org
Thu Apr 2 14:27:36 CDT 2020


Module: wine
Branch: master
Commit: 913ca5c80156774165626d1fe4801878e6c3e3a9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=913ca5c80156774165626d1fe4801878e6c3e3a9

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Apr  1 21:51:05 2020 +0200

wined3d: Get rid of a WARN in wined3d_query_get_data().

We've been handling the flags for a while.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/query.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index 66965020b4..ab3bb74380 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -456,9 +456,6 @@ HRESULT CDECL wined3d_query_get_data(struct wined3d_query *query,
     TRACE("query %p, data %p, data_size %u, flags %#x.\n",
             query, data, data_size, flags);
 
-    if (flags)
-        WARN("Ignoring flags %#x.\n", flags);
-
     if (query->state == QUERY_BUILDING)
     {
         WARN("Query is building, returning S_FALSE.\n");




More information about the wine-cvs mailing list