d3d10: Explicitly handle D3D10_SVC_STRUCT in set_variable_vtbl().

This commit is contained in:
Henri Verbeet 2009-10-12 10:10:26 +02:00 committed by Alexandre Julliard
parent 803eab27c7
commit b8668a9ce5
1 changed files with 4 additions and 0 deletions

View File

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