biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / emulators / wine / darwin-metal-compat.patch
blob8176be8ef3830013d745c91c4a3ffd927efe288b
1 diff --git a/dlls/winemac.drv/cocoa_display.m b/dlls/winemac.drv/cocoa_display.m
2 index fbbe16efcbf..2db375ff3d5 100644
3 --- a/dlls/winemac.drv/cocoa_display.m
4 +++ b/dlls/winemac.drv/cocoa_display.m
5 @@ -387,7 +387,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp
7 device = [CGDirectDisplayCopyCurrentMetalDevice(display_id) autorelease];
8 if (device && [device respondsToSelector:@selector(registryID)])
9 - return macdrv_get_gpu_info_from_registry_id(gpu, device.registryID);
10 + return macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]);
11 else
12 return -1;