[PATCH] dxgi: Silence a noisy fixme

Henri Verbeet hverbeet at gmail.com
Fri Dec 2 04:45:22 CST 2016


On 2 December 2016 at 10:26, Alistair Leslie-Hughes
<leslie_alistair at hotmail.com> wrote:
>  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;
>  }
Did you test that this does what you think it does?

Leaving that issue aside for the moment, while printing the FIXME only
once is probably fine, not tracing anything on subsequent calls isn't.



More information about the wine-devel mailing list