d3dx9: Implement ID3DXSprite_Get/SetTransform.

This commit is contained in:
Tony Wasserka 2009-02-28 19:05:29 +01:00 committed by Alexandre Julliard
parent 21c3e79e52
commit f975d4bfa7
1 changed files with 12 additions and 4 deletions

View File

@ -91,15 +91,23 @@ static HRESULT WINAPI ID3DXSpriteImpl_GetDevice(LPD3DXSPRITE iface, LPDIRECT3DDE
static HRESULT WINAPI ID3DXSpriteImpl_GetTransform(LPD3DXSPRITE iface, D3DXMATRIX *transform)
{
ID3DXSpriteImpl *This=(ID3DXSpriteImpl*)iface;
FIXME("(%p): stub\n", This);
return E_NOTIMPL;
TRACE("(%p)\n", This);
if(transform==NULL) return D3DERR_INVALIDCALL;
*transform=This->transform;
return D3D_OK;
}
static HRESULT WINAPI ID3DXSpriteImpl_SetTransform(LPD3DXSPRITE iface, CONST D3DXMATRIX *transform)
{
ID3DXSpriteImpl *This=(ID3DXSpriteImpl*)iface;
FIXME("(%p): stub\n", This);
return E_NOTIMPL;
TRACE("(%p)\n", This);
if(transform==NULL) return D3DERR_INVALIDCALL;
This->transform=*transform;
return D3D_OK;
}
static HRESULT WINAPI ID3DXSpriteImpl_SetWorldViewRH(LPD3DXSPRITE iface, CONST D3DXMATRIX *world, CONST D3DXMATRIX *view)