wined3d: Improve CheckDeviceType() support for windowed mode.
commitd2c56a60271abc4d231c1f61510a7d24129ee815
authorKen Thomases <ken@codeweavers.com>
Mon, 27 Jan 2014 19:33:03 +0000 (27 13:33 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 28 Jan 2014 18:38:47 +0000 (28 19:38 +0100)
tree1bb66888da06a6118b37fda034ce008e38f795fd
parent35d8c5633332d6175ea3925b7df3d7f7d9921083
wined3d: Improve CheckDeviceType() support for windowed mode.

For windowed mode:
* It doesn't matter if there are no adapter modes for the display format.
* A backbuffer format is valid so long as there's support for color conversion
 to the display format.
* A backbuffer format of D3DFMT_UNKNOWN is allowed and means that it should be
 the same as the display format.
dlls/wined3d/directx.c