[PATCH] dxgi: Silence a noisy fixme.

Henri Verbeet hverbeet at gmail.com
Mon Nov 29 07:47:26 CST 2021


On Thu, 25 Nov 2021 at 06:31, Alistair Leslie-Hughes
<leslie_alistair at hotmail.com> wrote:
>  static BOOL STDMETHODCALLTYPE dxgi_factory_IsCurrent(IWineDXGIFactory *iface)
>  {
> -    FIXME("iface %p stub!\n", iface);
> +    static BOOL once = FALSE;
> +
> +    if (!once++)
> +        FIXME("iface %p stub!\n", iface);
> +    else
> +        TRACE("iface %p stub!\n", iface);
>
>      return TRUE;
>  }

We'd probably want to use WARN instead of TRACE there.



More information about the wine-devel mailing list