wined3d: Do not leave SetStreamSource early.
This commit is contained in:
parent
e6fedfca7a
commit
aec06f60e7
|
@ -2002,10 +2002,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetStreamSource(IWineD3DDevice *iface,
|
||||||
return WINED3D_OK;
|
return WINED3D_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Same stream object: no action */
|
|
||||||
if (oldSrc == pStreamData)
|
|
||||||
return WINED3D_OK;
|
|
||||||
|
|
||||||
/* Need to do a getParent and pass the reffs up */
|
/* 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.
|
/* 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
|
which suggests that we shouldn't be ref counting? and do need a _release on the stream source to reset the stream source
|
||||||
|
|
Loading…
Reference in New Issue