From b8668a9ce58c14f7531bfe3d4e55b57416428fe7 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 12 Oct 2009 10:10:26 +0200 Subject: [PATCH] d3d10: Explicitly handle D3D10_SVC_STRUCT in set_variable_vtbl(). --- dlls/d3d10/effect.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index b41daebe06d..e567bd838b0 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -483,6 +483,10 @@ static void set_variable_vtbl(struct d3d10_effect_variable *v) v->vtbl = (ID3D10EffectVariableVtbl *)&d3d10_effect_matrix_variable_vtbl; break; + case D3D10_SVC_STRUCT: + v->vtbl = &d3d10_effect_variable_vtbl; + break; + default: FIXME("Unhandled type class %s.\n", debug_d3d10_shader_variable_class(v->type->type_class)); v->vtbl = &d3d10_effect_variable_vtbl;