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

d3dx9: Fix variable sequence.

parent a80eafe8
...@@ -1145,8 +1145,8 @@ static HRESULT parse_ctab_constant_type(const D3DXSHADER_TYPEINFO *type, ctab_co ...@@ -1145,8 +1145,8 @@ static HRESULT parse_ctab_constant_type(const D3DXSHADER_TYPEINFO *type, ctab_co
constant->desc.Bytes = calc_bytes(&constant->desc); constant->desc.Bytes = calc_bytes(&constant->desc);
TRACE("class = %d, type = %d, rows = %d, columns = %d, elements = %d, struct_members = %d\n", TRACE("class = %d, type = %d, rows = %d, columns = %d, elements = %d, struct_members = %d\n",
constant->desc.Class, constant->desc.Type, constant->desc.Elements, constant->desc.Class, constant->desc.Type, constant->desc.Rows,
constant->desc.Rows, constant->desc.Columns, constant->desc.StructMembers); constant->desc.Columns, constant->desc.Elements, constant->desc.StructMembers);
if ((constant->desc.Class == D3DXPC_STRUCT) && constant->desc.StructMembers) if ((constant->desc.Class == D3DXPC_STRUCT) && constant->desc.StructMembers)
{ {
......
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