d3d10: Implement ID3D10EffectVariable::AsShader().
This commit is contained in:
parent
4ef1031699
commit
ef07411ebf
@ -2622,9 +2622,14 @@ static struct ID3D10EffectConstantBuffer * STDMETHODCALLTYPE d3d10_effect_variab
|
|||||||
static struct ID3D10EffectShaderVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsShader(
|
static struct ID3D10EffectShaderVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsShader(
|
||||||
ID3D10EffectVariable *iface)
|
ID3D10EffectVariable *iface)
|
||||||
{
|
{
|
||||||
FIXME("iface %p stub!\n", iface);
|
struct d3d10_effect_variable *This = (struct d3d10_effect_variable *)iface;
|
||||||
|
|
||||||
return NULL;
|
TRACE("iface %p\n", iface);
|
||||||
|
|
||||||
|
if (This->vtbl == (ID3D10EffectVariableVtbl *)&d3d10_effect_shader_variable_vtbl)
|
||||||
|
return (ID3D10EffectShaderVariable *)This;
|
||||||
|
|
||||||
|
return (ID3D10EffectShaderVariable *)&null_shader_variable;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct ID3D10EffectBlendVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsBlend(ID3D10EffectVariable *iface)
|
static struct ID3D10EffectBlendVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsBlend(ID3D10EffectVariable *iface)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user