=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: ddraw/tests: Make sure color keying is on in test_texturemapblend.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Mar 27 08:55:17 CDT 2015
Module: wine
Branch: master
Commit: 7897a2c058cd87c4a4d09c8aeb32a632e9c87774
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7897a2c058cd87c4a4d09c8aeb32a632e9c87774
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu Mar 26 19:02:39 2015 +0100
ddraw/tests: Make sure color keying is on in test_texturemapblend.
---
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);
More information about the wine-cvs
mailing list