d3d9: Properly initialize the viewport dimensions.
This commit is contained in:
parent
db9bd91893
commit
49c22d6100
|
@ -794,7 +794,7 @@ static void test_reset(void)
|
||||||
ok(vp.MaxZ == 1, "D3DVIEWPORT->MaxZ = %f\n", vp.MaxZ);
|
ok(vp.MaxZ == 1, "D3DVIEWPORT->MaxZ = %f\n", vp.MaxZ);
|
||||||
}
|
}
|
||||||
vp.X = 10;
|
vp.X = 10;
|
||||||
vp.X = 20;
|
vp.Y = 20;
|
||||||
vp.MinZ = 2;
|
vp.MinZ = 2;
|
||||||
vp.MaxZ = 3;
|
vp.MaxZ = 3;
|
||||||
hr = IDirect3DDevice9_SetViewport(pDevice, &vp);
|
hr = IDirect3DDevice9_SetViewport(pDevice, &vp);
|
||||||
|
|
Loading…
Reference in New Issue