d3d9: Properly initialize the viewport dimensions.

Henri Verbeet hverbeet at codeweavers.com
Thu Mar 26 04:43:39 CDT 2009


---
 dlls/d3d9/tests/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 84b68cb..055885e 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -794,7 +794,7 @@ static void test_reset(void)
         ok(vp.MaxZ == 1, "D3DVIEWPORT->MaxZ = %f\n", vp.MaxZ);
     }
     vp.X = 10;
-    vp.X = 20;
+    vp.Y = 20;
     vp.MinZ = 2;
     vp.MaxZ = 3;
     hr = IDirect3DDevice9_SetViewport(pDevice, &vp);
-- 
1.6.0.6



--------------060704030500040802000304--



More information about the wine-patches mailing list