Commit bdc29f83 authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

ddraw/tests: Add an observation regarding device color model criteria for IDirect3D3::FindDevice.

parent eb922701
......@@ -3487,6 +3487,17 @@ static void FindDevice(void)
"[%d] Expected IDirect3D1::FindDevice to return D3D_OK, got 0x%08x\n", i, hr);
}
}
/* Curiously the color model criteria seem to be ignored. */
search.dwSize = sizeof(search);
search.dwFlags = D3DFDS_COLORMODEL;
search.dcmColorModel = 0xdeadbeef;
result.dwSize = sizeof(result);
hr = IDirect3D_FindDevice(Direct3D1, &search, &result);
todo_wine
ok(hr == D3D_OK,
"Expected IDirect3D1::FindDevice to return D3D_OK, got 0x%08x\n", hr);
}
START_TEST(d3d)
......
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