Commit 7b91b36d authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

d3d10: Implement ID3D10EffectVariable::AsDepthStencilView().

parent 31383cad
...@@ -2596,9 +2596,14 @@ static struct ID3D10EffectRenderTargetViewVariable * STDMETHODCALLTYPE d3d10_eff ...@@ -2596,9 +2596,14 @@ static struct ID3D10EffectRenderTargetViewVariable * STDMETHODCALLTYPE d3d10_eff
static struct ID3D10EffectDepthStencilViewVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsDepthStencilView( static struct ID3D10EffectDepthStencilViewVariable * STDMETHODCALLTYPE d3d10_effect_variable_AsDepthStencilView(
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_view_variable_vtbl)
return (ID3D10EffectDepthStencilViewVariable *)This;
return (ID3D10EffectDepthStencilViewVariable *)&null_depth_stencil_view_variable;
} }
static struct ID3D10EffectConstantBuffer * STDMETHODCALLTYPE d3d10_effect_variable_AsConstantBuffer( static struct ID3D10EffectConstantBuffer * STDMETHODCALLTYPE d3d10_effect_variable_AsConstantBuffer(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment