d3d9/tests: Trace the viewport in clear_test().
There are some failures in this test on Win7 that appear to be related to the initial viewport. Perhaps this trace will help narrow it down.
This commit is contained in:
parent
212ee15bd7
commit
bdad5ace2a
|
@ -495,6 +495,9 @@ static void clear_test(IDirect3DDevice9 *device)
|
|||
hr = IDirect3DDevice9_GetViewport(device, &old_vp);
|
||||
ok(hr == D3D_OK, "IDirect3DDevice9_GetViewport failed with %08x\n", hr);
|
||||
|
||||
trace("viewport: X %u, Y %u, W %u, H %u, MinZ %.8e, MaxZ %.8e.\n",
|
||||
old_vp.X, old_vp.Y, old_vp.Width, old_vp.Height, old_vp.MinZ, old_vp.MaxZ);
|
||||
|
||||
vp.X = 160;
|
||||
vp.Y = 120;
|
||||
vp.Width = 160;
|
||||
|
|
Loading…
Reference in New Issue