Matteo Bruni : d3dx11: Make use of data_size when tracing data string.
Alexandre Julliard
julliard at winehq.org
Wed Feb 8 15:52:12 CST 2017
Module: wine
Branch: master
Commit: 45aef81cbe5aecc75a36fdf821c66355adff52de
URL: http://source.winehq.org/git/wine.git/?a=commit;h=45aef81cbe5aecc75a36fdf821c66355adff52de
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue Feb 7 22:08:44 2017 +0100
d3dx11: Make use of data_size when tracing data string.
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dx11_43/async.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx11_43/async.c b/dlls/d3dx11_43/async.c
index ea7072a..ece13e9 100644
--- a/dlls/d3dx11_43/async.c
+++ b/dlls/d3dx11_43/async.c
@@ -224,8 +224,9 @@ HRESULT WINAPI D3DX11CompileFromMemory(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 ID3DX11ThreadPump handling.\n");
More information about the wine-cvs
mailing list