Alistair Leslie-Hughes : dxgi: Silence a noisy fixme.

Alexandre Julliard julliard at winehq.org
Wed Feb 8 15:52:12 CST 2017


Module: wine
Branch: master
Commit: a55cf3586d5f8f1b16954dc50fc4500c2f2b9ef4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a55cf3586d5f8f1b16954dc50fc4500c2f2b9ef4

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Feb  8 04:38:22 2017 +0000

dxgi: Silence a noisy fixme.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list