ddraw/tests: Test the return of DrawPrimitive()
Michael Stefaniuc
mstefani at redhat.de
Tue Oct 20 02:49:41 CDT 2015
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
---
dlls/ddraw/tests/ddraw7.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c
index fc119f6..fe02396 100644
--- a/dlls/ddraw/tests/ddraw7.c
+++ b/dlls/ddraw/tests/ddraw7.c
@@ -8690,6 +8690,7 @@ static void test_negative_fixedfunction_fog(void)
ok(SUCCEEDED(hr), "Failed to begin scene, hr %#x.\n", hr);
hr = IDirect3DDevice7_DrawPrimitive(device, D3DPT_TRIANGLESTRIP,
tests[i].pos_type | D3DFVF_DIFFUSE, tests[i].quad, 4, 0);
+ ok(SUCCEEDED(hr), "Failed to draw, hr %#x.\n", hr);
hr = IDirect3DDevice7_EndScene(device);
ok(SUCCEEDED(hr), "Failed to end scene, hr %#x.\n", hr);
--
2.4.3
More information about the wine-patches
mailing list