[PATCH 5/6] d3dx10: Make use of data_size when tracing data string.
Matteo Bruni
mbruni at codeweavers.com
Tue Feb 7 15:08:43 CST 2017
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
dlls/d3dx10_43/async.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx10_43/async.c b/dlls/d3dx10_43/async.c
index fb988a4..c638904 100644
--- a/dlls/d3dx10_43/async.c
+++ b/dlls/d3dx10_43/async.c
@@ -226,8 +226,9 @@ HRESULT WINAPI D3DX10CompileFromMemory(const char *data, SIZE_T data_size, const
{
TRACE("data %s, data_size %lu, filename %s, defines %p, include %p, entry_point %s, target %s, "
"sflags %#x, eflags %#x, pump %p, shader %p, error_messages %p, hresult %p.\n",
- debugstr_a(data), data_size, debugstr_a(filename), defines, include, debugstr_a(entry_point),
- debugstr_a(target), sflags, eflags, pump, shader, error_messages, hresult);
+ debugstr_an(data, data_size), data_size, debugstr_a(filename), defines, include,
+ debugstr_a(entry_point), debugstr_a(target), sflags, eflags, pump, shader,
+ error_messages, hresult);
if (pump)
FIXME("Unimplemented ID3DX10ThreadPump handling.\n");
--
2.10.2
More information about the wine-patches
mailing list