d3dx9: Calling CommitChanges with no active pass silently returns.

This commit is contained in:
Matteo Bruni 2014-02-24 19:18:45 +01:00 committed by Alexandre Julliard
parent 37e0a1a5d4
commit b86b3dfa40
1 changed files with 6 additions and 0 deletions

View File

@ -3199,6 +3199,12 @@ static HRESULT WINAPI ID3DXEffectImpl_CommitChanges(ID3DXEffect* iface)
FIXME("(%p)->(): stub\n", This);
if (!This->active_pass)
{
WARN("Called without an active pass.\n");
return D3D_OK;
}
return E_NOTIMPL;
}