d3d10: Implement ID3D10EffectVariable::AsDepthStencil().
This commit is contained in:
parent
53e00e12ba
commit
48673eec29
|
@ -2642,9 +2642,14 @@ static struct ID3D10EffectBlendVariable * STDMETHODCALLTYPE d3d10_effect_variabl
|
||||||
static struct ID3D10EffectDepthStencilVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsDepthStencil(
|
static struct ID3D10EffectDepthStencilVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsDepthStencil(
|
||||||
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_depth_stencil_variable_vtbl)
|
||||||
|
return (ID3D10EffectDepthStencilVariable *)This;
|
||||||
|
|
||||||
|
return (ID3D10EffectDepthStencilVariable *)&null_depth_stencil_variable;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct ID3D10EffectRasterizerVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsRasterizer(
|
static struct ID3D10EffectRasterizerVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsRasterizer(
|
||||||
|
|
Loading…
Reference in New Issue