Commit b8668a9c authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Explicitly handle D3D10_SVC_STRUCT in set_variable_vtbl().

parent 803eab27
...@@ -483,6 +483,10 @@ static void set_variable_vtbl(struct d3d10_effect_variable *v) ...@@ -483,6 +483,10 @@ static void set_variable_vtbl(struct d3d10_effect_variable *v)
v->vtbl = (ID3D10EffectVariableVtbl *)&d3d10_effect_matrix_variable_vtbl; v->vtbl = (ID3D10EffectVariableVtbl *)&d3d10_effect_matrix_variable_vtbl;
break; break;
case D3D10_SVC_STRUCT:
v->vtbl = &d3d10_effect_variable_vtbl;
break;
default: default:
FIXME("Unhandled type class %s.\n", debug_d3d10_shader_variable_class(v->type->type_class)); FIXME("Unhandled type class %s.\n", debug_d3d10_shader_variable_class(v->type->type_class));
v->vtbl = &d3d10_effect_variable_vtbl; v->vtbl = &d3d10_effect_variable_vtbl;
......
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