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]);