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

oldstable
Henri Verbeet 2012-09-18 22:13:56 +02:00 committed by Alexandre Julliard
parent 843db2c364
commit b0795aafd3
1 changed files with 2 additions and 2 deletions

View File

@ -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;