Commit 867fe223 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

d3dcompiler: Set the struct base type to HLSL_TYPE_VOID.

parent 4952bcfa
......@@ -817,6 +817,7 @@ static struct hlsl_type *new_struct_type(const char *name, struct list *fields)
return NULL;
}
type->type = HLSL_CLASS_STRUCT;
type->base_type = HLSL_TYPE_VOID;
type->name = name;
type->dimx = type->dimy = 1;
type->e.elements = fields;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment