[PATCH] dxgi: Silence a noisy fixme

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Dec 2 03:26:07 CST 2016


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/dxgi/output.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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;
 }
-- 
1.9.1




More information about the wine-patches mailing list