Code cleanup: use boolean instead of int for colormanagement

This commit is contained in:
2013-09-05 17:13:43 +00:00
parent 44ff79c432
commit d4b8a6cb85
17 changed files with 113 additions and 110 deletions

View File

@@ -141,7 +141,7 @@ static void sampleImageAtLocation(ImBuf *ibuf, float x, float y, PixelSampler sa
}
rgba_uchar_to_float(color, byte_color);
if (make_linear_rgb) {
IMB_colormanagement_colorspace_to_scene_linear_v4(color, FALSE, ibuf->rect_colorspace);
IMB_colormanagement_colorspace_to_scene_linear_v4(color, false, ibuf->rect_colorspace);
}
}
}