Fix related to #30152, rainbow colours produced when loading hdr image to 3D viewport...
[blender.git] / source / blender / imbuf / IMB_imbuf.h
index 996bfd3558144f5bcd9419fd6e4def67d4f8e66e..07f1b9e46838a41dcce60e6603b41ac5dcc6f510 100644 (file)
@@ -391,6 +391,7 @@ void IMB_buffer_float_from_float(float *rect_to, const float *rect_from,
 void IMB_buffer_byte_from_byte(unsigned char *rect_to, const unsigned char *rect_from,
        int profile_to, int profile_from, int predivide,
        int width, int height, int stride_to, int stride_from);
+void IMB_buffer_float_clamp(float *buf, int width, int height);
 
 /**
  * Change the ordering of the color bytes pointed to by rect from