d3d9/tests: Improve testing of display formats and IDirect3D9_CheckDeviceType().
commit6f498c4946087337956a60eb499559b061b015c1
authorKen Thomases <ken@codeweavers.com>
Mon, 27 Jan 2014 19:37:48 +0000 (27 13:37 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 28 Jan 2014 18:38:48 +0000 (28 19:38 +0100)
tree27e83a1eb069cf4cde8ef84265690fa8e15e804e
parentd2c56a60271abc4d231c1f61510a7d24129ee815
d3d9/tests: Improve testing of display formats and IDirect3D9_CheckDeviceType().

Tests every combination of display format and backbuffer format from
(D3DFMT_R5G6B5, D3DFMT_X1R5G5B5, D3DFMT_A1R5G5B5, D3DFMT_X8R8G8B8,
D3DFMT_A8R8G8B8, D3DFMT_A2R10G10B10, D3DFMT_UNKNOWN).

Tests the behavior of CheckDeviceType() with display formats for which there
are no adapter modes, rather than skipping those.

Tests windowed mode.
dlls/d3d9/tests/device.c