From 3fe7d402eb7d4a712841241af85e52a41e7d734a Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 2 Jun 2022 10:42:41 +1000 Subject: [PATCH] Rebase against c1e793f1119de0c0ef7d4bd6d9fefbafdb5dbbe5. --- patches/patchinstall.sh | 2 +- .../0001-winemac.drv-No-Flicker-patch.patch | 20 +++++++++---------- staging/upstream-commit | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 0276a182..e86420ed 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -51,7 +51,7 @@ usage() # Get the upstream commit sha upstream_commit() { - echo "9d72487f2102bd6eb245e199e73304c67bb5d41a" + echo "c1e793f1119de0c0ef7d4bd6d9fefbafdb5dbbe5" } # Show version information diff --git a/patches/winemac.drv-no-flicker-patch/0001-winemac.drv-No-Flicker-patch.patch b/patches/winemac.drv-no-flicker-patch/0001-winemac.drv-No-Flicker-patch.patch index 32f55eb9..9d9eef92 100644 --- a/patches/winemac.drv-no-flicker-patch/0001-winemac.drv-No-Flicker-patch.patch +++ b/patches/winemac.drv-no-flicker-patch/0001-winemac.drv-No-Flicker-patch.patch @@ -1,4 +1,4 @@ -From 9a550439fe370711ce1a2146753aa41026d5fb2a Mon Sep 17 00:00:00 2001 +From a27e6b54a07eb441b5118a2be445b4a752ecd3b1 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Tue, 22 Jun 2021 07:56:43 +1000 Subject: [PATCH] winemac.drv: No Flicker patch @@ -10,10 +10,10 @@ Subject: [PATCH] winemac.drv: No Flicker patch 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/winemac.drv/macdrv.h b/dlls/winemac.drv/macdrv.h -index d73a52fa35f..f85973de13d 100644 +index 2ea6cd638c3..6220a0be801 100644 --- a/dlls/winemac.drv/macdrv.h +++ b/dlls/winemac.drv/macdrv.h -@@ -41,6 +41,7 @@ +@@ -42,6 +42,7 @@ extern BOOL allow_software_rendering DECLSPEC_HIDDEN; extern BOOL disable_window_decorations DECLSPEC_HIDDEN; extern HMODULE macdrv_module DECLSPEC_HIDDEN; @@ -22,18 +22,18 @@ index d73a52fa35f..f85973de13d 100644 extern const char* debugstr_cf(CFTypeRef t) DECLSPEC_HIDDEN; diff --git a/dlls/winemac.drv/macdrv_main.c b/dlls/winemac.drv/macdrv_main.c -index d8d16b1f4df..09fee166a05 100644 +index 4a183747796..e982ad12a13 100644 --- a/dlls/winemac.drv/macdrv_main.c +++ b/dlls/winemac.drv/macdrv_main.c -@@ -63,6 +63,7 @@ int gl_surface_mode = GL_SURFACE_IN_FRONT_OPAQUE; +@@ -64,6 +64,7 @@ int use_precise_scrolling = TRUE; + int gl_surface_mode = GL_SURFACE_IN_FRONT_OPAQUE; int retina_enabled = FALSE; - HMODULE macdrv_module = 0; int enable_app_nap = FALSE; +BOOL force_backing_store = FALSE; CFDictionaryRef localized_strings; -@@ -213,6 +214,9 @@ static void setup_options(void) +@@ -382,6 +383,9 @@ static void setup_options(void) if (!get_config_key(hkey, appkey, "EnableAppNap", buffer, sizeof(buffer))) enable_app_nap = IS_OPTION_TRUE(buffer[0]); @@ -44,10 +44,10 @@ index d8d16b1f4df..09fee166a05 100644 processes in the prefix. */ if (!get_config_key(hkey, NULL, "RetinaMode", buffer, sizeof(buffer))) diff --git a/dlls/winemac.drv/opengl.c b/dlls/winemac.drv/opengl.c -index 33132de7415..b2c66296d9c 100644 +index cf58588981f..c50be3e7e70 100644 --- a/dlls/winemac.drv/opengl.c +++ b/dlls/winemac.drv/opengl.c -@@ -1465,7 +1465,7 @@ static BOOL create_context(struct wgl_context *context, CGLContextObj share, uns +@@ -1448,7 +1448,7 @@ static BOOL create_context(struct wgl_context *context, CGLContextObj share, uns attribs[n++] = pf->samples; } @@ -57,5 +57,5 @@ index 33132de7415..b2c66296d9c 100644 if (core) -- -2.33.0 +2.35.1 diff --git a/staging/upstream-commit b/staging/upstream-commit index 5e909be9..8c8153a4 100644 --- a/staging/upstream-commit +++ b/staging/upstream-commit @@ -1 +1 @@ -9d72487f2102bd6eb245e199e73304c67bb5d41a +c1e793f1119de0c0ef7d4bd6d9fefbafdb5dbbe5