Răsfoiți Sursa

Change image channel order to CL_INTENSITY

Tomas Farago 9 ani în urmă
părinte
comite
2355ec036b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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,