Commit b0795aaf authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Use debugstr_a() on variable names in parse_fx10_object().

parent 843db2c3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment