Commit 7b3863fe authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

d3dx9: Fix constant table trace.

parent 6ad34b16
...@@ -1223,12 +1223,9 @@ HRESULT WINAPI D3DXGetShaderConstantTableEx(CONST DWORD *byte_code, ...@@ -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)
{ {
......
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