diff options
author | 7c6f434c <7c6f434c@mail.ru> | 2023-11-18 20:00:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-18 20:00:00 +0000 |
commit | c90a9432549f3cb4f3a7903e2de0c4d7529ea57b (patch) | |
tree | cc7642290ac68c1917d90a903d5100da87b8afe6 /pkgs/applications/emulators/wine/darwin-metal-compat.patch | |
parent | 21088cf44c15118b09dfe427635525ff085a32c7 (diff) | |
parent | bf7ad8cfbfa102a90463433e2c5027573b462479 (diff) |
Merge pull request #263014 from r-ryantm/auto-update/wine64Packages.unstable
wine64Packages.unstable: 8.17 -> 8.20
Diffstat (limited to 'pkgs/applications/emulators/wine/darwin-metal-compat.patch')
-rw-r--r-- | pkgs/applications/emulators/wine/darwin-metal-compat.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/emulators/wine/darwin-metal-compat.patch b/pkgs/applications/emulators/wine/darwin-metal-compat.patch index 181b2a0d1a47a..8176be8ef3830 100644 --- a/pkgs/applications/emulators/wine/darwin-metal-compat.patch +++ b/pkgs/applications/emulators/wine/darwin-metal-compat.patch @@ -1,12 +1,13 @@ diff --git a/dlls/winemac.drv/cocoa_display.m b/dlls/winemac.drv/cocoa_display.m +index fbbe16efcbf..2db375ff3d5 100644 --- a/dlls/winemac.drv/cocoa_display.m +++ b/dlls/winemac.drv/cocoa_display.m -@@ -354,7 +354,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp +@@ -387,7 +387,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp device = [CGDirectDisplayCopyCurrentMetalDevice(display_id) autorelease]; if (device && [device respondsToSelector:@selector(registryID)]) -- ret = macdrv_get_gpu_info_from_registry_id(gpu, device.registryID); -+ ret = macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]); - - done: - [pool release]; +- return macdrv_get_gpu_info_from_registry_id(gpu, device.registryID); ++ return macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]); + else + return -1; + } |