d3d9: TRACE fixes.

Andrey Gusev andrey.goosev at gmail.com
Wed Sep 16 12:27:51 CDT 2015


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150916/50215104/attachment.html>
-------------- next part --------------
From 87659fab2a0a97c0b34d40713c2f43be4e732777 Mon Sep 17 00:00:00 2001
Message-Id: <87659fab2a0a97c0b34d40713c2f43be4e732777.1442424245.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Wed, 16 Sep 2015 20:23:29 +0300
Subject: [PATCH] d3d9: TRACE fixes.

---
 dlls/d3d9/query.c             | 2 +-
 dlls/d3d9/vertexdeclaration.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d9/query.c b/dlls/d3d9/query.c
index 42b476c..6b55aec 100644
--- a/dlls/d3d9/query.c
+++ b/dlls/d3d9/query.c
@@ -32,7 +32,7 @@ static inline struct d3d9_query *impl_from_IDirect3DQuery9(IDirect3DQuery9 *ifac
 
 static HRESULT WINAPI d3d9_query_QueryInterface(IDirect3DQuery9 *iface, REFIID riid, void **out)
 {
-    TRACE("iface %p, riid %s, object %p.\n", iface, debugstr_guid(riid), out);
+    TRACE("iface %p, riid %s, out %p.\n", iface, debugstr_guid(riid), out);
 
     if (IsEqualGUID(riid, &IID_IDirect3DQuery9)
             || IsEqualGUID(riid, &IID_IUnknown))
diff --git a/dlls/d3d9/vertexdeclaration.c b/dlls/d3d9/vertexdeclaration.c
index cc7998d..914de24 100644
--- a/dlls/d3d9/vertexdeclaration.c
+++ b/dlls/d3d9/vertexdeclaration.c
@@ -326,7 +326,7 @@ static HRESULT convert_to_wined3d_declaration(const D3DVERTEXELEMENT9 *d3d9_elem
     UINT count = 1;
     UINT i;
 
-    TRACE("d3d9_elements %p, wined3d_elements %p\n", d3d9_elements, wined3d_elements);
+    TRACE("d3d9_elements %p, wined3d_elements %p, element_count %p\n", d3d9_elements, wined3d_elements, element_count);
 
     element = d3d9_elements;
     while (element++->Stream != 0xff && count++ < 128);
-- 
2.4.3



More information about the wine-patches mailing list