Henri Verbeet : ddraw: Make sure pWineDirect3DCreate and pWineDirect3DCreateClipper match the header .

Rob Shearman robertshearman at gmail.com
Sun Nov 2 18:10:50 CST 2008


2008/10/24 Alexandre Julliard <julliard at winehq.org>:
> diff --git a/dlls/ddraw/ddraw_private.h b/dlls/ddraw/ddraw_private.h
> index 7ff3c5c..cd1ce15 100644
> --- a/dlls/ddraw/ddraw_private.h
> +++ b/dlls/ddraw/ddraw_private.h
> @@ -414,8 +414,7 @@ struct IDirectDrawClipperImpl
>
>  const IDirectDrawClipperVtbl IDirectDrawClipper_Vtbl;
>
> -typedef IWineD3DClipper* (WINAPI *fnWineDirect3DCreateClipper)(IUnknown *);
> -fnWineDirect3DCreateClipper pWineDirect3DCreateClipper;
> +typeof(WineDirect3DCreateClipper) *pWineDirect3DCreateClipper;

This isn't portable to some compilers, like MSVC. Can this be reverted?

-- 
Rob Shearman



More information about the wine-devel mailing list