=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: dxgi: Return S_OK from dxgi_output_SetGammaControl() stub.

Alexandre Julliard julliard at winehq.org
Fri Nov 30 14:34:42 CST 2018


Module: wine
Branch: master
Commit: 369ef0f56ddd1fd85b434d3b704c8914e82049c8
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=369ef0f56ddd1fd85b434d3b704c8914e82049c8

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Fri Nov 30 14:43:04 2018 +0100

dxgi: Return S_OK from dxgi_output_SetGammaControl() stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43584
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 4a508b3..bf0a415 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);
 




More information about the wine-cvs mailing list