[PATCH] dxgi: Silence a noisy fixme.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Nov 24 23:31:02 CST 2021


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

diff --git a/dlls/dxgi/factory.c b/dlls/dxgi/factory.c
index 4c3e3cf0f34..4ca78a7b3ed 100644
--- a/dlls/dxgi/factory.c
+++ b/dlls/dxgi/factory.c
@@ -253,7 +253,12 @@ static HRESULT STDMETHODCALLTYPE dxgi_factory_CreateSoftwareAdapter(IWineDXGIFac
 
 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;
 }
-- 
2.33.0




More information about the wine-devel mailing list