d3d9: Remove WINAPI on static functions where not needed.
Henri Verbeet
hverbeet at gmail.com
Mon Nov 24 02:21:45 CST 2008
2008/11/24 Vitaliy Margolen <wine-devel at kievinfo.com>:
>> /* This isn't in MSDN!
>> -static HRESULT WINAPI IDirect3DDevice9Impl_GetFrontBuffer(LPDIRECT3DDEVICE9EX iface, IDirect3DSurface9* pDestSurface) {
>> +static HRESULT IDirect3DDevice9Impl_GetFrontBuffer(LPDIRECT3DDEVICE9EX iface, IDirect3DSurface9* pDestSurface) {
>> IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
>> FIXME("(%p) : stub\n", This);
>> return D3D_OK;
>
> You can't do that. It's part of the v-table so it can be called by user
> application.
>
Actually, that code is commented out, it should be removed completely.
More information about the wine-devel
mailing list