d3d10: Store the type fields in parse_fx10_type() as uint32_t.

In particular, d3d10_variable_type() takes an integer flags pointer.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2022-02-08 19:48:46 +01:00 committed by Alexandre Julliard
parent ee01c2022f
commit 2afd69d156
1 changed files with 1 additions and 1 deletions

View File

@ -1402,7 +1402,7 @@ static D3D10_SHADER_VARIABLE_TYPE d3d10_variable_type(DWORD t, BOOL is_object,
static HRESULT parse_fx10_type(const char *data, size_t data_size, DWORD offset, struct d3d10_effect_type *t)
{
DWORD typeinfo, type_flags, type_kind;
uint32_t typeinfo, type_flags, type_kind;
const char *ptr;
unsigned int i;