[PATCH] dxgi: Fake success in dxgi_adapter_RegisterVideoMemoryBudgetChangeNotificationEvent

Fabian Maurer dark.shadow4 at web.de
Sat Feb 12 16:41:18 CST 2022


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51665
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
 dlls/dxgi/adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dxgi/adapter.c b/dlls/dxgi/adapter.c
index e38fef5fa4f..987b89c4a88 100644
--- a/dlls/dxgi/adapter.c
+++ b/dlls/dxgi/adapter.c
@@ -350,7 +350,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_adapter_RegisterVideoMemoryBudgetChangeNot
 {
     FIXME("iface %p, event %p, cookie %p stub!\n", iface, event, cookie);

-    return E_NOTIMPL;
+    return S_OK;
 }

 static void STDMETHODCALLTYPE dxgi_adapter_UnregisterVideoMemoryBudgetChangeNotification(
--
2.35.1




More information about the wine-devel mailing list