wined3d: Do not leave SetStreamSource early.

This commit is contained in:
Stefan Dösinger 2007-02-14 17:52:19 +01:00 committed by Alexandre Julliard
parent e6fedfca7a
commit aec06f60e7
1 changed files with 0 additions and 4 deletions

View File

@ -2002,10 +2002,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetStreamSource(IWineD3DDevice *iface,
return WINED3D_OK;
}
/* Same stream object: no action */
if (oldSrc == pStreamData)
return WINED3D_OK;
/* Need to do a getParent and pass the reffs up */
/* MSDN says ..... When an application no longer holds a references to this interface, the interface will automatically be freed.
which suggests that we shouldn't be ref counting? and do need a _release on the stream source to reset the stream source