mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 01:03:38 +00:00
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:
parent
bbd9b9bfee
commit
4dd6408e89
|
@ -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, ¢er, &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);
|
||||
|
|
Loading…
Reference in a new issue