Fix Direct3D2 => Direct3D3 thunk for FindDevice.

This commit is contained in:
Lionel Ulmer 2002-12-23 01:34:15 +00:00 committed by Alexandre Julliard
parent 0087da5946
commit 4feb257eed
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ Thunk_IDirect3DImpl_2_FindDevice(LPDIRECT3D2 iface,
LPD3DFINDDEVICERESULT lpD3DFDR)
{
TRACE("(%p)->(%p,%p) thunking to IDirect3D3 interface.\n", iface, lpD3DDFS, lpD3DFDR);
return IDirect3D3_FindDevice(COM_INTERFACE_CAST(IDirect3DImpl, IDirect3D, IDirect3D3, iface),
return IDirect3D3_FindDevice(COM_INTERFACE_CAST(IDirect3DImpl, IDirect3D2, IDirect3D3, iface),
lpD3DDFS,
lpD3DFDR);
}