Module: wine Branch: master Commit: b0795aafd33aa0e1f4493bc682cb8ec04c8eb79f URL: http://source.winehq.org/git/wine.git/?a=commit;h=b0795aafd33aa0e1f4493bc682...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Sep 18 22:13:56 2012 +0200
d3d10: Use debugstr_a() on variable names in parse_fx10_object().
---
dlls/d3d10/effect.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index 6d1337b..e2a4744 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -1297,7 +1297,7 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr
case D3D10_EOO_PARSED_OBJECT: /* This is a local object, we've parsed in parse_fx10_local_object. */ - TRACE("Shader = %s.\n", data + offset); + TRACE("Variable name %s.\n", debugstr_a(data + offset));
o->data = e->lpVtbl->GetVariableByName(e, data + offset); hr = S_OK; @@ -1308,7 +1308,7 @@ static HRESULT parse_fx10_object(struct d3d10_effect_object *o, const char **ptr data_ptr = data + offset; read_dword(&data_ptr, &offset); read_dword(&data_ptr, &o->index); - TRACE("Shader = %s[%u].\n", data + offset, o->index); + TRACE("Variable name %s[%u].\n", debugstr_a(data + offset), o->index);
o->data = e->lpVtbl->GetVariableByName(e, data + offset); hr = S_OK;