d3drm: Implement IDirect3DRMX_CreateTexture.

This commit is contained in:
André Hentschel 2012-06-17 15:37:59 +02:00 committed by Alexandre Julliard
parent 029318107b
commit d71bf7fdb7
1 changed files with 8 additions and 7 deletions

View File

@ -191,13 +191,14 @@ static HRESULT WINAPI IDirect3DRMImpl_CreateAnimationSet(IDirect3DRM* iface, LPD
return E_NOTIMPL;
}
static HRESULT WINAPI IDirect3DRMImpl_CreateTexture(IDirect3DRM* iface, LPD3DRMIMAGE pImage, LPDIRECT3DRMTEXTURE * ppTexture)
static HRESULT WINAPI IDirect3DRMImpl_CreateTexture(IDirect3DRM* iface, LPD3DRMIMAGE pImage,
LPDIRECT3DRMTEXTURE * ppTexture)
{
IDirect3DRMImpl *This = impl_from_IDirect3DRM(iface);
FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, pImage, ppTexture);
FIXME("(%p/%p)->(%p,%p): partial stub\n", iface, This, pImage, ppTexture);
return E_NOTIMPL;
return Direct3DRMTexture_create(&IID_IDirect3DRMTexture, (IUnknown**)ppTexture);
}
static HRESULT WINAPI IDirect3DRMImpl_CreateLight(IDirect3DRM* iface, D3DRMLIGHTTYPE type,
@ -567,9 +568,9 @@ static HRESULT WINAPI IDirect3DRM2Impl_CreateTexture(IDirect3DRM2* iface, LPD3DR
{
IDirect3DRMImpl *This = impl_from_IDirect3DRM2(iface);
FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, pImage, ppTexture);
FIXME("(%p/%p)->(%p,%p): partial stub\n", iface, This, pImage, ppTexture);
return E_NOTIMPL;
return Direct3DRMTexture_create(&IID_IDirect3DRMTexture2, (IUnknown**)ppTexture);
}
static HRESULT WINAPI IDirect3DRM2Impl_CreateLight(IDirect3DRM2* iface, D3DRMLIGHTTYPE type,
@ -992,9 +993,9 @@ static HRESULT WINAPI IDirect3DRM3Impl_CreateTexture(IDirect3DRM3* iface, LPD3DR
{
IDirect3DRMImpl *This = impl_from_IDirect3DRM3(iface);
FIXME("(%p/%p)->(%p,%p): stub\n", iface, This, Image, Texture);
FIXME("(%p/%p)->(%p,%p): partial stub\n", iface, This, Image, Texture);
return E_NOTIMPL;
return Direct3DRMTexture_create(&IID_IDirect3DRMTexture3, (IUnknown**)Texture);
}
static HRESULT WINAPI IDirect3DRM3Impl_CreateLight(IDirect3DRM3* iface, D3DRMLIGHTTYPE type,