ddraw/tests: Test the return of DrawPrimitive().

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2015-10-20 09:49:41 +02:00 committed by Alexandre Julliard
parent ef837a9c6f
commit f8b306c3a8
1 changed files with 1 additions and 0 deletions

View File

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