Commit b86b3dfa authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3dx9: Calling CommitChanges with no active pass silently returns.

parent 37e0a1a5
......@@ -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;
}
......
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