Commit 4b5abc74 authored by Massimo Valentini's avatar Massimo Valentini Committed by Øyvind "pippin" Kolås

issue #147: "Select" -> "Invert" broken when OpenCL is enabled

set a compatible format when using OpenCL
parent c598fe42
......@@ -137,7 +137,7 @@ prepare (GeglOperation *operation)
#undef DISPATCH_MODEL
}
if (! format)
if (! format || gegl_operation_use_opencl (operation))
{
o->user_data = PROCESS_FUNC (rgba, float);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment