Skip to content
Snippets Groups Projects
Commit 867fe223 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard
Browse files

d3dcompiler: Set the struct base type to HLSL_TYPE_VOID.

parent 4952bcfa
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment