You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Rebase against 83e481fee20bc5c6598e65f8295be1b3f11fb70b
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
From ac234f708a63cbbf13d4b2894c15d072bcd27cdd Mon Sep 17 00:00:00 2001
|
||||
From c6530912db59318d93b77daa1cab061ff5afadaa Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Tue, 24 Jan 2017 01:37:29 +0100
|
||||
Subject: [PATCH] dxgi: Implement setting and querying the gamma value of an
|
||||
output.
|
||||
|
||||
---
|
||||
dlls/dxgi/output.c | 17 +++++++++++++++--
|
||||
dlls/dxgi/tests/device.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
|
||||
dlls/dxgi/output.c | 17 ++++++++++++++--
|
||||
dlls/dxgi/tests/dxgi.c | 45 ++++++++++++++++++++++++++++++++++++++++++
|
||||
2 files changed, 60 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dlls/dxgi/output.c b/dlls/dxgi/output.c
|
||||
index 2b168fb..31bdf9a 100644
|
||||
index 2b168fb627b..31bdf9a3805 100644
|
||||
--- a/dlls/dxgi/output.c
|
||||
+++ b/dlls/dxgi/output.c
|
||||
@@ -293,9 +293,22 @@ static void STDMETHODCALLTYPE dxgi_output_ReleaseOwnership(IDXGIOutput4 *iface)
|
||||
@@ -38,11 +38,11 @@ index 2b168fb..31bdf9a 100644
|
||||
}
|
||||
|
||||
static HRESULT STDMETHODCALLTYPE dxgi_output_SetGammaControl(IDXGIOutput4 *iface,
|
||||
diff --git a/dlls/dxgi/tests/device.c b/dlls/dxgi/tests/device.c
|
||||
index 8ad4935..8007c49 100644
|
||||
--- a/dlls/dxgi/tests/device.c
|
||||
+++ b/dlls/dxgi/tests/device.c
|
||||
@@ -1942,11 +1942,13 @@ static void test_swapchain_fullscreen_state(IDXGISwapChain *swapchain,
|
||||
diff --git a/dlls/dxgi/tests/dxgi.c b/dlls/dxgi/tests/dxgi.c
|
||||
index 56065456eb0..6bd257c6190 100644
|
||||
--- a/dlls/dxgi/tests/dxgi.c
|
||||
+++ b/dlls/dxgi/tests/dxgi.c
|
||||
@@ -2110,11 +2110,13 @@ static void test_swapchain_fullscreen_state(IDXGISwapChain *swapchain,
|
||||
static void test_set_fullscreen(void)
|
||||
{
|
||||
struct swapchain_fullscreen_state initial_state;
|
||||
@@ -56,7 +56,7 @@ index 8ad4935..8007c49 100644
|
||||
ULONG refcount;
|
||||
HRESULT hr;
|
||||
|
||||
@@ -1962,6 +1964,17 @@ static void test_set_fullscreen(void)
|
||||
@@ -2130,6 +2132,17 @@ static void test_set_fullscreen(void)
|
||||
hr = IDXGIAdapter_GetParent(adapter, &IID_IDXGIFactory, (void **)&factory);
|
||||
ok(SUCCEEDED(hr), "GetParent failed, hr %#x.\n", hr);
|
||||
|
||||
@@ -74,7 +74,7 @@ index 8ad4935..8007c49 100644
|
||||
swapchain_desc.BufferDesc.Width = 800;
|
||||
swapchain_desc.BufferDesc.Height = 600;
|
||||
swapchain_desc.BufferDesc.RefreshRate.Numerator = 60;
|
||||
@@ -1992,6 +2005,38 @@ static void test_set_fullscreen(void)
|
||||
@@ -2160,6 +2173,38 @@ static void test_set_fullscreen(void)
|
||||
skip("Could not change fullscreen state.\n");
|
||||
goto done;
|
||||
}
|
||||
@@ -114,5 +114,5 @@ index 8ad4935..8007c49 100644
|
||||
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
|
||||
refcount = IDXGISwapChain_Release(swapchain);
|
||||
--
|
||||
1.9.1
|
||||
2.18.0
|
||||
|
||||
|
Reference in New Issue
Block a user