Hi all, This patch enables texturing in Sacrifice demo. Unfortunately, the demo suffers from serious vertex transformation problems. Bye, Christian. Changelog : Implement IDirect3DDevice7_Load Christian Costa titan.costa@wanadoo.fr
Index: d3ddevice/main.c =================================================================== RCS file: /home/wine/wine/dlls/ddraw/d3ddevice/main.c,v retrieving revision 1.34 diff -u -r1.34 main.c --- d3ddevice/main.c 7 Jan 2003 23:08:31 -0000 1.34 +++ d3ddevice/main.c 31 Jan 2003 19:57:22 -0000 @@ -828,7 +828,9 @@ DWORD dwFlags) { ICOM_THIS_FROM(IDirect3DDeviceImpl, IDirect3DDevice7, iface); - FIXME("(%p/%p)->(%p,%p,%p,%p,%08lx): stub!\n", This, iface, lpDestTex, lpDestPoint, lpSrcTex, lprcSrcRect, dwFlags); + FIXME("(%p/%p)->(%p,%p,%p,%p,%08lx): Partially Implemented!\n", This, iface, lpDestTex, lpDestPoint, lpSrcTex, lprcSrcRect, dwFlags); + IDirect3DTexture2_Load(COM_INTERFACE_CAST(IDirectDrawSurfaceImpl, IDirectDrawSurface7, IDirect3DTexture2, lpDestTex), + COM_INTERFACE_CAST(IDirectDrawSurfaceImpl, IDirectDrawSurface7, IDirect3DTexture2, lpSrcTex)); return DD_OK; }