d3d10: Use debugstr_a() on variable names in parse_fx10_object().
This commit is contained in:
parent
843db2c364
commit
b0795aafd3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue