Henri Verbeet : d3d9: Properly initialize the viewport dimensions.

Alexandre Julliard julliard at winehq.org
Thu Mar 26 11:05:46 CDT 2009


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Mar 26 10:43:39 2009 +0100

d3d9: Properly initialize the viewport dimensions.

---

 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);




More information about the wine-cvs mailing list