Commit 181b955f authored by Robert Maynard's avatar Robert Maynard
Browse files

ConvertToRGB with Vec<uint,3> was missing VTKM_EXEC markup.

parent bf8fcc91
......@@ -57,7 +57,7 @@ struct ConvertToRGB : public vtkm::worklet::WorkletMapField
colorconversion::ColorToUChar(in[2]));
}
vtkm::Vec<vtkm::UInt8, 3> operator()(const vtkm::Vec<vtkm::UInt8, 3>& in) const
VTKM_EXEC vtkm::Vec<vtkm::UInt8, 3> operator()(const vtkm::Vec<vtkm::UInt8, 3>& in) const
{ //vtkScalarsToColorsRGBToRGB
return in;
}
......
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