Matteo Bruni : d3d9/tests: Fix a CheckDeviceFormat() call.
Alexandre Julliard
julliard at winehq.org
Fri Mar 8 19:41:10 CST 2019
Module: wine
Branch: master
Commit: c71469be758b6169cd05688126ae4f722e948bc7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c71469be758b6169cd05688126ae4f722e948bc7
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Thu Mar 7 21:15:01 2019 +0100
d3d9/tests: Fix a CheckDeviceFormat() call.
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d9/tests/visual.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 61a6794..9318610 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -1383,7 +1383,7 @@ static void test_clear_different_size_surfaces(void)
ok(hr == D3D_OK, "Failed to create render target surface, hr %#x.\n", hr);
if (SUCCEEDED(IDirect3D9_CheckDeviceFormat(d3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL,
- D3DFMT_A8R8G8B8, D3DUSAGE_DEPTHSTENCIL, D3DRTYPE_SURFACE, D3DFMT_D16_LOCKABLE)))
+ D3DFMT_X8R8G8B8, D3DUSAGE_DEPTHSTENCIL, D3DRTYPE_SURFACE, D3DFMT_D16_LOCKABLE)))
{
ds_format = D3DFMT_D16_LOCKABLE;
}
More information about the wine-cvs
mailing list