wined3d: Fix prototype for EnumAdapterModes
Stefan Dösinger
stefandoesinger at gmx.at
Sun Apr 19 05:32:02 CDT 2009
Am Freitag, 17. April 2009 03:10:26 schrieb Brad Martin:
> ---
> include/wine/wined3d.idl | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/wine/wined3d.idl b/include/wine/wined3d.idl
> index b8691a7..6f86688 100644
> --- a/include/wine/wined3d.idl
> +++ b/include/wine/wined3d.idl
> @@ -2222,8 +2222,8 @@ interface IWineD3D : IWineD3DBase
> );
> HRESULT EnumAdapterModes(
> [in] UINT adapter_idx,
> - [in] UINT mode_idx,
> [in] WINED3DFORMAT format,
> + [in] UINT mode_idx,
> [out] WINED3DDISPLAYMODE *mode
> );
> HRESULT GetAdapterDisplayMode(
Are you sure you can do this without adjusting the implementation function in
dlls/wined3d/directx.c and the callers in d3d9, d3d8 and ddraw? I don't have
the code checked out currently, so I can't check. Maybe the calls and the
implementation match and just the .idl prototype is different.
More information about the wine-devel
mailing list