From aec06f60e749c10ca29a8f48e2b7eb9b42e8d5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Wed, 14 Feb 2007 17:52:19 +0100 Subject: [PATCH] wined3d: Do not leave SetStreamSource early. --- dlls/wined3d/device.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index a28714dfaf4..757b1479e9b 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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