mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3dx9: Implement ID3DXEffect::EndPass().
This commit is contained in:
parent
b7919e65fd
commit
bc59705aca
1 changed files with 11 additions and 3 deletions
|
@ -2873,13 +2873,21 @@ static HRESULT WINAPI ID3DXEffectImpl_CommitChanges(ID3DXEffect* iface)
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI ID3DXEffectImpl_EndPass(ID3DXEffect* iface)
|
||||
static HRESULT WINAPI ID3DXEffectImpl_EndPass(ID3DXEffect *iface)
|
||||
{
|
||||
struct ID3DXEffectImpl *This = impl_from_ID3DXEffect(iface);
|
||||
|
||||
FIXME("(%p)->(): stub\n", This);
|
||||
TRACE("iface %p\n", This);
|
||||
|
||||
return E_NOTIMPL;
|
||||
if (This->active_pass)
|
||||
{
|
||||
This->active_pass = NULL;
|
||||
return D3D_OK;
|
||||
}
|
||||
|
||||
WARN("Invalid call.\n");
|
||||
|
||||
return D3DERR_INVALIDCALL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI ID3DXEffectImpl_End(ID3DXEffect* iface)
|
||||
|
|
Loading…
Reference in a new issue