onevcat 8 лет назад
Родитель
Сommit
fe0f094cdd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Sources/ImageProcessor.swift

+ 1 - 1
Sources/ImageProcessor.swift

@@ -696,7 +696,7 @@ fileprivate extension Color {
         var a: CGFloat = 0
 
         #if os(macOS)
-        (usingColorSpace(NSColorSpace.deviceRGB) ?? self).getRed(&r, green: &g, blue: &b, alpha: &a)
+        (usingColorSpace(.deviceRGB) ?? self).getRed(&r, green: &g, blue: &b, alpha: &a)
         #else
         getRed(&r, green: &g, blue: &b, alpha: &a)
         #endif