Commit 2b87b233 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Implemented GetRenderTarget.

parent 9e94cece
......@@ -166,7 +166,13 @@ Main_IDirect3DDeviceImpl_7_3T_2T_GetRenderTarget(LPDIRECT3DDEVICE7 iface,
LPDIRECTDRAWSURFACE7* lplpRenderTarget)
{
ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface);
FIXME("(%p/%p)->(%p): stub!\n", This, iface, lplpRenderTarget);
TRACE("(%p/%p)->(%p)\n", This, iface, lplpRenderTarget);
*lplpRenderTarget = ICOM_INTERFACE(This->surface, IDirectDrawSurface7);
IDirectDrawSurface7_AddRef(ICOM_INTERFACE(This->surface, IDirectDrawSurface7));
TRACE(" returning surface at %p.\n", *lplpRenderTarget);
return DD_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment