d3dx9: Implement ID3DXEffect::GetCurrentTechnique().

This commit is contained in:
Rico Schüller 2011-06-27 11:58:30 +02:00 committed by Alexandre Julliard
parent fb6c973b4b
commit 69c3b4baf6
1 changed files with 3 additions and 3 deletions

View File

@ -2756,13 +2756,13 @@ static HRESULT WINAPI ID3DXEffectImpl_SetTechnique(ID3DXEffect* iface, D3DXHANDL
return E_NOTIMPL;
}
static D3DXHANDLE WINAPI ID3DXEffectImpl_GetCurrentTechnique(ID3DXEffect* iface)
static D3DXHANDLE WINAPI ID3DXEffectImpl_GetCurrentTechnique(ID3DXEffect *iface)
{
struct ID3DXEffectImpl *This = impl_from_ID3DXEffect(iface);
FIXME("(%p)->(): stub\n", This);
TRACE("iface %p\n", This);
return NULL;
return This->active_technique;
}
static HRESULT WINAPI ID3DXEffectImpl_ValidateTechnique(ID3DXEffect* iface, D3DXHANDLE technique)