mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
fd2703130c
https://www.winehq.org/announce/8.18 https://www.winehq.org/announce/8.19 https://www.winehq.org/announce/8.20
14 lines
640 B
Diff
14 lines
640 B
Diff
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
|
|
@@ -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)])
|
|
- 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;
|
|
}
|