[PATCH 3/4] dx8vb: Add Direct3D8 interface with stubs
Nikolay Sivov
bunglehead at gmail.com
Mon Oct 30 20:04:09 CDT 2017
>
>
> static HRESULT WINAPI directx8_QueryInterface(IDirectX8 *iface, REFIID
> riid, void **ppv)
> @@ -237,9 +440,11 @@ static HRESULT WINAPI directx8_
> DirectPlayAddressCreate(IDirectX8 *iface, DirectP
>
> static HRESULT WINAPI directx8_Direct3DCreate(IDirectX8 *iface,
> Direct3D8 **ret)
> {
> - FIXME("(%p): stub!\n", ret);
> + HRESULT res = direct3d8_create(ret);
>
> - return E_NOTIMPL;
> + TRACE("(%p) -> (%x)\n", ret, res);
> +
> + return res;
> }
>
That's an unusual way to arrange things. Why don't you return as "return
direct3d8_create();" ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20171031/442b8e9f/attachment.html>
More information about the wine-devel
mailing list