> Changelog: > - implement GetRenderTarget Well, it was bound to happen that I forgot at least one patch in one evening :-) <PJ> But at least, this time, I did not use any bad words in my mail </PJ> Lionel -- Lionel Ulmer - http://www.bbrox.org/
--- ../wine_work_base/dlls/ddraw/d3ddevice/main.c Thu Nov 28 23:20:04 2002 +++ dlls/ddraw/d3ddevice/main.c Thu Nov 28 23:18:47 2002 @@ -166,7 +166,13 @@ 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; }