[PATCH] dxgi: Silence a noisy fixme

Hans Leidekker hans at codeweavers.com
Fri Dec 2 04:42:15 CST 2016


On Fri, 2016-12-02 at 09:26 +0000, Alistair Leslie-Hughes wrote:
> diff --git a/dlls/dxgi/output.c b/dlls/dxgi/output.c
> index 0cf8084..61a7043 100644
> --- a/dlls/dxgi/output.c
> +++ b/dlls/dxgi/output.c
> @@ -268,7 +268,10 @@ static HRESULT STDMETHODCALLTYPE dxgi_output_FindClosestMatchingMode(IDXGIOutput
>  
>  static HRESULT STDMETHODCALLTYPE dxgi_output_WaitForVBlank(IDXGIOutput *iface)
>  {
> -    FIXME("iface %p stub!\n", iface);
> +    BOOL once = FALSE;
> +
> +    if (!once++)
> +        FIXME("iface %p stub!\n", iface);
>  
>      return E_NOTIMPL;
>  }

static BOOL once;





More information about the wine-devel mailing list