Fix T88194: Animation player displays washed out colors

Byte images used `ibuf->float_colorspace` as source colorspace.
This was oversight - `ibuf->rect_colorspace` should be used as source
colorspace.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D11223
This commit is contained in:
Richard Antalik 2021-05-11 12:47:25 +02:00
parent 41c0c79e31
commit 7bccdfd8d2
Notes: blender-bot 2023-02-13 18:43:32 +01:00
Referenced by issue #88194, Animation player displays washed out colors
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ static void *ocio_transform_ibuf(PlayState *ps,
display_buffer = ibuf->rect;
*r_glsl_used = IMB_colormanagement_setup_glsl_draw_from_space(&ps->view_settings,
&ps->display_settings,
ibuf->float_colorspace,
ibuf->rect_colorspace,
ibuf->dither,
false,
false);