Stefan Dösinger : wined3d: Do not leave SetStreamSource early.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Feb 14 15:30:25 CST 2007
Module: wine
Branch: master
Commit: aec06f60e749c10ca29a8f48e2b7eb9b42e8d5e5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=aec06f60e749c10ca29a8f48e2b7eb9b42e8d5e5
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Wed Feb 14 17:52:19 2007 +0100
wined3d: Do not leave SetStreamSource early.
---
dlls/wined3d/device.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index a28714d..757b147 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
More information about the wine-cvs
mailing list