mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
d3d10: Parse variable flag.
This commit is contained in:
parent
09e258a186
commit
739759bf8b
@ -66,6 +66,7 @@ struct d3d10_effect_variable
|
||||
char *name;
|
||||
DWORD buffer_offset;
|
||||
DWORD annotation_count;
|
||||
DWORD flag;
|
||||
};
|
||||
|
||||
struct d3d10_effect_local_buffer
|
||||
|
@ -428,7 +428,10 @@ static HRESULT parse_fx10_variable(struct d3d10_effect_variable *v, const char *
|
||||
read_dword(ptr, &v->buffer_offset);
|
||||
TRACE("Variable offset in buffer: %#x.\n", v->buffer_offset);
|
||||
|
||||
skip_dword_unknown(ptr, 2);
|
||||
skip_dword_unknown(ptr, 1);
|
||||
|
||||
read_dword(ptr, &v->flag);
|
||||
TRACE("Variable flag: %#x.\n", v->flag);
|
||||
|
||||
read_dword(ptr, &v->annotation_count);
|
||||
for(i = 0; i < v->annotation_count; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user