d3d9: Remove WINAPI on static functions where not needed.
Francois Gouget
fgouget at codeweavers.com
Mon Nov 24 07:02:23 CST 2008
Henri Verbeet wrote:
> 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.
Works for me. Updating the patch...
Vitaliy probably saw IDirect3DDevice9Impl_GetFrontBufferData() in
Direct3DDevice9_Vtbl. Similar name but different function.
--
Francois Gouget
fgouget at codeweavers.com
More information about the wine-devel
mailing list