[PATCH 4/5] wined3d: Capture the correct scissor rectangle.
Henri Verbeet
hverbeet at codeweavers.com
Mon Apr 5 14:10:16 CDT 2010
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;
--
1.6.4.4
More information about the wine-patches
mailing list