Henri Verbeet : wined3d: Capture the correct scissor rectangle.

Alexandre Julliard julliard at winehq.org
Tue Apr 6 11:20:06 CDT 2010


Module: wine
Branch: master
Commit: f41ee7cd0a066153c27667abbfcaaa92da135812
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f41ee7cd0a066153c27667abbfcaaa92da135812

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Apr  5 21:10:16 2010 +0200

wined3d: Capture the correct scissor rectangle.

This bug was originally introduced by
d4b63bbd87a221c725aff56b300224e55aa1f0a6, and then propagated by
1f029a30dbae7d40818d0d81bc84d15c93578c17.

---

 dlls/wined3d/stateblock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c
index 48f9eac..028b79f 100644
--- a/dlls/wined3d/stateblock.c
+++ b/dlls/wined3d/stateblock.c
@@ -757,7 +757,7 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_Capture(IWineD3DStateBlock *iface)
     {
         TRACE("Updating scissor rect.\n");
 
-        targetStateBlock->scissorRect = This->scissorRect;
+        This->scissorRect = targetStateBlock->scissorRect;
     }
 
     map = This->changed.streamSource;




More information about the wine-cvs mailing list