[PATCH 2/6] dxgi: Return S_OK from dxgi_output_SetGammaControl() stub.

Józef Kucia joseph.kucia at gmail.com
Fri Nov 30 07:43:04 CST 2018


From: Józef Kucia <jkucia at codeweavers.com>

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43584
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 dlls/dxgi/output.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/dxgi/output.c b/dlls/dxgi/output.c
index 4a508b3d6b02..bf0a4159376a 100644
--- a/dlls/dxgi/output.c
+++ b/dlls/dxgi/output.c
@@ -320,10 +320,11 @@ static HRESULT STDMETHODCALLTYPE dxgi_output_SetGammaControl(IDXGIOutput4 *iface
 {
     FIXME("iface %p, gamma_control %p stub!\n", iface, gamma_control);
 
-    return E_NOTIMPL;
+    return S_OK;
 }
 
-static HRESULT STDMETHODCALLTYPE dxgi_output_GetGammaControl(IDXGIOutput4 *iface, DXGI_GAMMA_CONTROL *gamma_control)
+static HRESULT STDMETHODCALLTYPE dxgi_output_GetGammaControl(IDXGIOutput4 *iface,
+        DXGI_GAMMA_CONTROL *gamma_control)
 {
     FIXME("iface %p, gamma_control %p stub!\n", iface, gamma_control);
 
-- 
2.18.1




More information about the wine-devel mailing list