[v2 PATCH] dxgi: Silence a noisy fixme
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue Feb 7 22:38:22 CST 2017
Make once static
When tracing is enabled, always display a message.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
dlls/dxgi/output.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/dxgi/output.c b/dlls/dxgi/output.c
index 0cf8084..737ba29 100644
--- a/dlls/dxgi/output.c
+++ b/dlls/dxgi/output.c
@@ -268,7 +268,12 @@ static HRESULT STDMETHODCALLTYPE dxgi_output_FindClosestMatchingMode(IDXGIOutput
static HRESULT STDMETHODCALLTYPE dxgi_output_WaitForVBlank(IDXGIOutput *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 E_NOTIMPL;
}
--
2.10.2
More information about the wine-patches
mailing list