]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Wed, 27 Dec 2017 15:01:37 +0000 (10:01 -0500)
committerCristy <urban-warrior@imagemagick.org>
Wed, 27 Dec 2017 15:01:37 +0000 (10:01 -0500)
MagickCore/accelerate-kernels-private.h

index ac81323cbb3bb24f7a27029e859104b29f92cbc7..3d9dd20ccea4bff3aaf9a935a1e03e481aa1873a 100644 (file)
@@ -484,7 +484,7 @@ OPENCL_ENDIF()
   {
     float intensity;
 
-    if (colorspace == GRAYColorspace)
+    if ((colorspace == GRAYColorspace) || (colorspace == LinearGRAYColorspace))
       return red;
 
     switch (method)