d3dxof: Initialize object member names correctly.
This commit is contained in:
parent
c9977df853
commit
00c574d117
|
@ -1938,6 +1938,7 @@ static BOOL parse_object_members_list(parse_buffer * buf)
|
||||||
int k;
|
int k;
|
||||||
int nb_elems = 1;
|
int nb_elems = 1;
|
||||||
|
|
||||||
|
buf->pxo->members[i].name = pt->members[i].name;
|
||||||
buf->pxo->members[i].start = buf->cur_pdata;
|
buf->pxo->members[i].start = buf->cur_pdata;
|
||||||
|
|
||||||
for (k = 0; k < pt->members[i].nb_dims; k++)
|
for (k = 0; k < pt->members[i].nb_dims; k++)
|
||||||
|
|
|
@ -63,7 +63,7 @@ typedef struct {
|
||||||
} xtemplate;
|
} xtemplate;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char name[MAX_NAME_LEN];
|
char* name;
|
||||||
LPBYTE start;
|
LPBYTE start;
|
||||||
ULONG size;
|
ULONG size;
|
||||||
} xobject_member;
|
} xobject_member;
|
||||||
|
|
Loading…
Reference in New Issue