ddraw/tests: Make sure color keying is on in test_texturemapblend.

This commit is contained in:
Stefan Dösinger 2015-03-26 19:02:39 +01:00 committed by Alexandre Julliard
parent 70883bb0a2
commit 7897a2c058
1 changed files with 5 additions and 0 deletions

View File

@ -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);