Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/tests/d3dx10.c:
+ ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + + D3DXMatrixTranslation(&sprite_desc.matWorld, 0.5f, -0.5f, 0.0f); + sprite_desc.TexCoord.x = 0.7f; + sprite_desc.TexCoord.y = 0.7f; + sprite_desc.TexSize.x = 0.5f; + sprite_desc.TexSize.y = 0.5f; + hr = ID3DX10Sprite_DrawSpritesBuffered(sprite, &sprite_desc, 1); + todo_wine + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + + hr = ID3DX10Sprite_Flush(sprite); + todo_wine + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); + hr = ID3DX10Sprite_End(sprite); + ok(hr == S_OK, "Unexpected hr %#lx.\n", hr); I'm curious whether `Flush()` is actually necessary or not (for context, in d3dx9 it isn't, it's implied by `End()`).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11674#note_149360