d3d9/tests: Properly check for mipmap autogeneration support.
commit9480e817198d7ca5f636e98cbb6f6632a852fc89
authorMatteo Bruni <mbruni@codeweavers.com>
Wed, 20 Sep 2017 23:07:05 +0000 (21 01:07 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 21 Sep 2017 17:53:10 +0000 (21 19:53 +0200)
tree3be93dc4bf9304d8123e33f9d2eedda03561ae1c
parente4365e5ba32773282ecd0c9a65f0f53720cc29f0
d3d9/tests: Properly check for mipmap autogeneration support.

CheckDeviceFormat() returns D3DOK_NOAUTOGEN if the texture format is
otherwise supported.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3d9/tests/device.c