d3dx9: Fix constant table trace.
This commit is contained in:
parent
6ad34b161f
commit
7b3863fec0
|
@ -1223,12 +1223,9 @@ HRESULT WINAPI D3DXGetShaderConstantTableEx(CONST DWORD *byte_code,
|
||||||
object->desc.Creator = ctab_header->Creator ? object->ctab + ctab_header->Creator : NULL;
|
object->desc.Creator = ctab_header->Creator ? object->ctab + ctab_header->Creator : NULL;
|
||||||
object->desc.Version = ctab_header->Version;
|
object->desc.Version = ctab_header->Version;
|
||||||
object->desc.Constants = ctab_header->Constants;
|
object->desc.Constants = ctab_header->Constants;
|
||||||
if (object->desc.Creator)
|
TRACE("Creator %s, Version %x, Constants %u, Target %s\n",
|
||||||
TRACE("Creator = %s\n", object->desc.Creator);
|
debugstr_a(object->desc.Creator), object->desc.Version, object->desc.Constants,
|
||||||
TRACE("Version = %x\n", object->desc.Version);
|
debugstr_a(ctab_header->Target ? object->ctab + ctab_header->Target : NULL));
|
||||||
TRACE("Constants = %d\n", ctab_header->Constants);
|
|
||||||
if (ctab_header->Target)
|
|
||||||
TRACE("Target = %s\n", object->ctab + ctab_header->Target);
|
|
||||||
|
|
||||||
if (object->desc.Constants > 65535)
|
if (object->desc.Constants > 65535)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue