d3d9: Properly initialize the viewport dimensions.

This commit is contained in:
Henri Verbeet 2009-03-26 10:43:39 +01:00 committed by Alexandre Julliard
parent db9bd91893
commit 49c22d6100
1 changed files with 1 additions and 1 deletions

View File

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