d3d10: Implement ID3D10EffectVariable::AsRasterizer().
This commit is contained in:
parent
48673eec29
commit
3db6ec57ff
|
@ -2655,9 +2655,14 @@ static struct ID3D10EffectDepthStencilVariable * STDMETHODCALLTYPE d3d10_effect_
|
||||||
static struct ID3D10EffectRasterizerVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsRasterizer(
|
static struct ID3D10EffectRasterizerVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsRasterizer(
|
||||||
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_rasterizer_variable_vtbl)
|
||||||
|
return (ID3D10EffectRasterizerVariable *)This;
|
||||||
|
|
||||||
|
return (ID3D10EffectRasterizerVariable *)&null_rasterizer_variable;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct ID3D10EffectSamplerVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsSampler(
|
static struct ID3D10EffectSamplerVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsSampler(
|
||||||
|
|
Loading…
Reference in New Issue