d3d10: Implement ID3D10EffectType::GetMemberSemantic().
This commit is contained in:
parent
a001ed7686
commit
73b5e3ddad
|
@ -3302,11 +3302,24 @@ static LPCSTR STDMETHODCALLTYPE d3d10_effect_type_GetMemberName(ID3D10EffectType
|
|||
|
||||
static LPCSTR STDMETHODCALLTYPE d3d10_effect_type_GetMemberSemantic(ID3D10EffectType *iface, UINT index)
|
||||
{
|
||||
FIXME("iface %p, index %u stub!\n", iface, index);
|
||||
struct d3d10_effect_type *This = (struct d3d10_effect_type *)iface;
|
||||
struct d3d10_effect_type_member *typem;
|
||||
|
||||
TRACE("iface %p, index %u\n", iface, index);
|
||||
|
||||
if (index >= This->member_count)
|
||||
{
|
||||
WARN("Invalid index specified\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
typem = &This->members[index];
|
||||
|
||||
TRACE("Returning semantic %s\n", debugstr_a(typem->semantic));
|
||||
|
||||
return typem->semantic;
|
||||
}
|
||||
|
||||
static const struct ID3D10EffectTypeVtbl d3d10_effect_type_vtbl =
|
||||
{
|
||||
/* ID3D10EffectType */
|
||||
|
|
Loading…
Reference in New Issue