d3dxof: Store number of subojects for all top level objects.
This commit is contained in:
parent
ded68e8a4f
commit
9d64f82554
|
@ -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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue