Explorar o código

Change image channel order to CL_INTENSITY

Tomas Farago %!s(int64=9) %!d(string=hai) anos
pai
achega
2355ec036b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,