Henri Verbeet : d3d9/tests: Allow D3DFMT_A2R10G10B10 as supported adapter mode.

Alexandre Julliard julliard at winehq.org
Tue May 4 13:06:36 CDT 2010


Module: wine
Branch: master
Commit: 3ab491f810e5038c9da1e86cf26f5fe4f8fe20e7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3ab491f810e5038c9da1e86cf26f5fe4f8fe20e7

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon May  3 22:03:30 2010 +0200

d3d9/tests: Allow D3DFMT_A2R10G10B10 as supported adapter mode.

This is in the list of allowed formats in the documentation, and some drivers
report this on Windows.

---

 dlls/d3d9/tests/device.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c
index 0004715..e21f8ad 100644
--- a/dlls/d3d9/tests/device.c
+++ b/dlls/d3d9/tests/device.c
@@ -1226,7 +1226,6 @@ static void test_display_modes(void)
     TEST_FMT(D3DFMT_A8B8G8R8, D3DERR_INVALIDCALL);
     TEST_FMT(D3DFMT_X8B8G8R8, D3DERR_INVALIDCALL);
     TEST_FMT(D3DFMT_G16R16, D3DERR_INVALIDCALL);
-    TEST_FMT(D3DFMT_A2R10G10B10, D3DERR_INVALIDCALL);
     TEST_FMT(D3DFMT_A16B16G16R16, D3DERR_INVALIDCALL);
 
     TEST_FMT(D3DFMT_A8P8, D3DERR_INVALIDCALL);




More information about the wine-cvs mailing list