Commit 9d64f825 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dxof: Store number of subojects for all top level objects.

parent ded68e8a
......@@ -1989,6 +1989,8 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
return DXFILEERR_PARSEERROR;
}
This->buf.pxo->nb_subobjects = This->buf.cur_subobject;
object->pobj = This->buf.pxo;
object->cur_enum_object = 0;
object->level = 0;
......
......@@ -76,6 +76,7 @@ struct _xobject {
ULONG nb_members;
xobject_member members[MAX_MEMBERS];
ULONG nb_childs;
ULONG nb_subobjects;
struct _xobject * childs[MAX_CHILDS];
};
......
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