Skip to content

Commit

Permalink
Remove one more parallel_options use
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz committed Jul 12, 2024
1 parent 5c62bfc commit 1a3d8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libOpenImageIO/color_ocio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2434,7 +2434,7 @@ colorconvert_impl_float_rgba(ImageBuf& R, const ImageBuf& A,
OIIO_ASSERT(R.localpixels() && A.localpixels()
&& R.spec().format == TypeFloat && A.spec().format == TypeFloat
&& R.nchannels() == 4 && A.nchannels() == 4);
parallel_image(roi, parallel_options(nthreads), [&](ROI roi) {
parallel_image(roi, paropt(nthreads), [&](ROI roi) {
int width = roi.width();
// Temporary space to hold one RGBA scanline
vfloat4* scanline;
Expand Down

0 comments on commit 1a3d8ae

Please sign in to comment.