504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
13 lines
640 B
Diff
13 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;
|
|
}
|