Commit c4eb3de8 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

d3d9: Fix vertex decl test.

parent fa355572
...@@ -686,7 +686,7 @@ static void test_fvf_decl_management( ...@@ -686,7 +686,7 @@ static void test_fvf_decl_management(
ok(SUCCEEDED(hr), "SetFVF returned %#x, expected %#x\n", hr, D3D_OK); ok(SUCCEEDED(hr), "SetFVF returned %#x, expected %#x\n", hr, D3D_OK);
if (FAILED(hr)) return; if (FAILED(hr)) return;
/* The contents should correspond to the second conversion */ /* The contents should correspond to the first conversion */
VDECL_CHECK(compare_elements(result_decl1, test_elements1)); VDECL_CHECK(compare_elements(result_decl1, test_elements1));
/* Get converted decl (#3) */ /* Get converted decl (#3) */
...@@ -700,6 +700,8 @@ static void test_fvf_decl_management( ...@@ -700,6 +700,8 @@ static void test_fvf_decl_management(
/* The contents should correspond to the second conversion */ /* The contents should correspond to the second conversion */
VDECL_CHECK(compare_elements(result_decl3, test_elements2)); VDECL_CHECK(compare_elements(result_decl3, test_elements2));
/* Re-Check if the first decl was overwritten by the new Get() */
VDECL_CHECK(compare_elements(result_decl1, test_elements1));
/* The refcounts should all be 1 */ /* The refcounts should all be 1 */
ref1 = get_refcount((IUnknown*) result_decl1); ref1 = get_refcount((IUnknown*) result_decl1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment