=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3d9/tests: Fix backbuffer read vs flip in test_vertex_blending.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Aug 28 07:42:28 CDT 2015
Module: wine
Branch: master
Commit: 0933332c73b29ebace1299c266ebd1a051b94041
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0933332c73b29ebace1299c266ebd1a051b94041
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu Aug 27 23:05:01 2015 +0200
d3d9/tests: Fix backbuffer read vs flip in test_vertex_blending.
---
dlls/d3d9/tests/visual.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 0796013..d49d3b2 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -19263,9 +19263,6 @@ static void test_vertex_blending(void)
hr = IDirect3DDevice9_EndScene(device);
ok(SUCCEEDED(hr), "Failed to end scene, hr %#x.\n", hr);
- hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
- ok(hr == D3D_OK, "IDirect3DDevice9_Present failed with %08x\n", hr);
-
point = tests[i].quad_points;
while (point->x != -1 && point->y != -1)
{
@@ -19281,6 +19278,9 @@ static void test_vertex_blending(void)
ok(color_match(color, 0x00000000, 1), "Unexpected quad at %dx%d.\n", point->x, point->y);
++point;
}
+
+ hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
+ ok(SUCCEEDED(hr), "Failed to present, hr %#x.\n", hr);
}
refcount = IDirect3DDevice9_Release(device);
More information about the wine-cvs
mailing list