From 804e90b42d728ecb1073af8d0bae15a91b13a469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 11 Feb 2020 15:18:55 +0100 Subject: DRW: Color Management improvement Reviewed By: brecht sergey jbakker Differential Revision: http://developer.blender.org/D6729 --- source/blender/editors/screen/glutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/screen/glutil.c') diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index dc435efd86b..94c1f4cfc35 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -577,7 +577,7 @@ void ED_draw_imbuf_clipping(ImBuf *ibuf, if (ibuf->rect_float) { if (ibuf->float_colorspace) { ok = IMB_colormanagement_setup_glsl_draw_from_space( - view_settings, display_settings, ibuf->float_colorspace, ibuf->dither, true); + view_settings, display_settings, ibuf->float_colorspace, ibuf->dither, true, false); } else { ok = IMB_colormanagement_setup_glsl_draw( @@ -586,7 +586,7 @@ void ED_draw_imbuf_clipping(ImBuf *ibuf, } else { ok = IMB_colormanagement_setup_glsl_draw_from_space( - view_settings, display_settings, ibuf->rect_colorspace, ibuf->dither, false); + view_settings, display_settings, ibuf->rect_colorspace, ibuf->dither, false, false); } if (ok) { -- cgit v1.2.3