Fix #34139: render display did not convert to straight alpha when dithering was enabled.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 6 Feb 2013 20:49:33 +0000 (20:49 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 6 Feb 2013 20:49:33 +0000 (20:49 +0000)
source/blender/imbuf/intern/colormanagement.c

index 8cb721e..00a4699 100644 (file)
@@ -2371,7 +2371,7 @@ static void partial_buffer_update_rect(ImBuf *ibuf, unsigned char *display_buffe
                int display_index = (ymin * display_stride + xmin) * channels;
 
                IMB_buffer_byte_from_float(display_buffer + display_index, display_buffer_float, channels, dither,
-                                          IB_PROFILE_SRGB, IB_PROFILE_SRGB, FALSE, width, height, display_stride, width);
+                                          IB_PROFILE_SRGB, IB_PROFILE_SRGB, TRUE, width, height, display_stride, width);
 
                MEM_freeN(display_buffer_float);
        }