[4/10] D3D9: Don't use C casts to get the d3d9impl from IDirect3D9

Alexandre Julliard julliard at winehq.org
Thu Feb 28 13:19:59 CST 2008


Stefan Dösinger <stefan at codeweavers.com> writes:

> This patch adds an inline conversion function similar to the ones used
> in dinput. This is needed to implement IDirect3D9Ex, which uses a 2nd
> vtable on the same object

IDirect3D9Ex inherits from IDirect3D9, so you shouldn't need a 2nd vtable.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list