Pārlūkot izejas kodu

Change image channel order to CL_INTENSITY

Tomas Farago 9 gadi atpakaļ
vecāks
revīzija
2355ec036b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/ufo-anka-backproject-task.c

+ 1 - 1
src/ufo-anka-backproject-task.c

@@ -393,7 +393,7 @@ ufo_anka_backproject_task_process (UfoTask *task,
 
     if (priv->images[index] == NULL) {
         /* TODO: dangerous, don't rely on the ufo-buffer */
-        image_fmt.image_channel_order = CL_R;
+        image_fmt.image_channel_order = CL_INTENSITY;
         image_fmt.image_channel_data_type = CL_FLOAT;
         /* TODO: what with the "other" API? */
         priv->images[index] = clCreateImage2D (priv->context,