Commit 4dd6408e authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

d3dx9_36/tests: Add missing call to ID3DXSprite_End.

parent bbd9b9bf
......@@ -319,6 +319,8 @@ static void test_ID3DXSprite(IDirect3DDevice9 *device)
ok (hr == D3D_OK, "Begin returned %#x, expected %#x\n", hr, D3D_OK);
hr = ID3DXSprite_Draw(sprite, tex2, &rect, &center, &pos, D3DCOLOR_XRGB(255, 255, 255));
ok (hr == D3D_OK, "Draw returned %#x, expected %#x\n", hr, D3D_OK);
hr = ID3DXSprite_End(sprite);
ok (hr == D3D_OK, "End returned %#x, expected %#x\n", hr, D3D_OK);
IDirect3DDevice9_EndScene(device);
check_release((IUnknown*)sprite, 0);
......
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