Browse Source

Change image channel order to CL_INTENSITY

Tomas Farago 9 years ago
parent
commit
2355ec036b
1 changed files with 1 additions and 1 deletions
  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,