fd2703130c
https://www.winehq.org/announce/8.18 https://www.winehq.org/announce/8.19 https://www.winehq.org/announce/8.20
12 lines
597 B
Diff
12 lines
597 B
Diff
diff --git a/dlls/winemac.drv/cocoa_display.m b/dlls/winemac.drv/cocoa_display.m
|
|
--- 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
|
|
|
|
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];
|