From 356b1dad5b2fe78829aba8b8014e62878bcf4622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Lemaire?= Date: Sun, 16 Jun 2013 16:19:10 +0200 Subject: [PATCH] Fixed hdr color mapping, broken in previous commit It was broken in commit 6964e73cd745386ebf131ad0955ed2db590b12fe --- src/rendering/tools/color.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rendering/tools/color.c b/src/rendering/tools/color.c index c0c7db3..4b2b5cd 100644 --- a/src/rendering/tools/color.c +++ b/src/rendering/tools/color.c @@ -274,8 +274,10 @@ void colorProfileSetToneMapping(ColorProfile* profile, ToneMappingOperator tonem { case TONE_MAPPING_REIHNARD: profile->mapper = _toneMappingReinhard; + break; case TONE_MAPPING_UNCHARTED: profile->mapper = _toneMappingUncharted; + break; default: profile->mapper = _toneMappingClamp; }