d3d9: Make CheckDeviceType() fail for display formats other than D3DFMT_X8R8G8B8...
commit35d8c5633332d6175ea3925b7df3d7f7d9921083
authorKen Thomases <ken@codeweavers.com>
Mon, 27 Jan 2014 19:32:02 +0000 (27 13:32 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 28 Jan 2014 18:38:46 +0000 (28 19:38 +0100)
treef4f17fe41a5498e3f9772c8ec069a2d717213776
parente3fa52a636384197fa900427a42a8616246f599b
d3d9: Make CheckDeviceType() fail for display formats other than D3DFMT_X8R8G8B8 and D3DFMT_R5G6B5 in full-screen.

The adapter mode functions already enforce this, and tests show
CheckDeviceType() should fail for full-screen mode with display formats for
which there are no adapter modes.
dlls/d3d9/directx.c