Commit bdad5ace authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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.
parent 212ee15b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment