From: Stefan Dösinger Subject: [PATCH 1/4] ddraw/tests: Make sure color keying is on in test_texturemapblend. Message-Id: <1427392962-12696-1-git-send-email-stefan@codeweavers.com> Date: Thu, 26 Mar 2015 19:02:39 +0100 This fixed the random test failures like https://testbot.winehq.org/JobDetails.pl?Key=12332 on 5 out of 5 test runs. This kind of test failure has always been mutually exclusive with the incorrectly applied color keying a few lines above. --- dlls/ddraw/tests/ddraw1.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index 68821e4..2c8bc5f 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -6280,6 +6280,11 @@ static void test_texturemapblend(void) emit_process_vertices(&ptr, D3DPROCESSVERTICES_COPY, 0, 8); emit_set_rs(&ptr, D3DRENDERSTATE_ALPHABLENDENABLE, TRUE); emit_set_rs(&ptr, D3DRENDERSTATE_TEXTUREHANDLE, texture_handle); + /* This is supposed to be on by default on version 1 devices, + * but for some reason it randomly defaults to FALSE on the W8 + * testbot. This is either the fault of Windows 8 or the WARP + * driver. */ + emit_set_rs(&ptr, D3DRENDERSTATE_COLORKEYENABLE, TRUE); emit_tquad(&ptr, 0); emit_tquad(&ptr, 4); -- 2.3.4