d3d10: Parse variable flag.

This commit is contained in:
Rico Schüller 2009-08-26 22:30:40 +02:00 committed by Alexandre Julliard
parent 09e258a186
commit 739759bf8b
2 changed files with 5 additions and 1 deletions

View File

@ -66,6 +66,7 @@ struct d3d10_effect_variable
char *name;
DWORD buffer_offset;
DWORD annotation_count;
DWORD flag;
};
struct d3d10_effect_local_buffer

View File

@ -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)