d3dx9_36/tests: Add missing call to ID3DXSprite_End.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2022-01-03 00:27:05 -07:00 committed by Alexandre Julliard
parent bbd9b9bfee
commit 4dd6408e89
1 changed files with 2 additions and 0 deletions

View File

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