diff --git a/internal/devicescale/impl_mac.go b/internal/devicescale/impl_mac.go index 083a4781d..9227c0229 100644 --- a/internal/devicescale/impl_mac.go +++ b/internal/devicescale/impl_mac.go @@ -24,7 +24,7 @@ package devicescale // #import // // static float scale() { -// NSScreen* primary = [[NSScreen screens] firstObject]; +// NSScreen* primary = [NSScreen mainScreen]; // return [primary backingScaleFactor]; // } import "C"