[D3D 28] Fix FindDevice thunk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog
 Fix Direct3D2 => Direct3D3 thunk for FindDevice

-- 
		 Lionel Ulmer - http://www.bbrox.org/
--- ../wine_base/dlls/ddraw/direct3d/main.c	Sat Dec 14 13:51:24 2002
+++ dlls/ddraw/direct3d/main.c	Fri Dec 20 19:19:31 2002
@@ -495,7 +495,7 @@
 				 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);
 }

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux