Fixed hdr color mapping, broken in previous commit

It was broken in commit 6964e73cd745386ebf131ad0955ed2db590b12fe
This commit is contained in:
Michaël Lemaire 2013-06-16 16:19:10 +02:00
parent d713447f54
commit 356b1dad5b

View file

@ -274,8 +274,10 @@ void colorProfileSetToneMapping(ColorProfile* profile, ToneMappingOperator tonem
{ {
case TONE_MAPPING_REIHNARD: case TONE_MAPPING_REIHNARD:
profile->mapper = _toneMappingReinhard; profile->mapper = _toneMappingReinhard;
break;
case TONE_MAPPING_UNCHARTED: case TONE_MAPPING_UNCHARTED:
profile->mapper = _toneMappingUncharted; profile->mapper = _toneMappingUncharted;
break;
default: default:
profile->mapper = _toneMappingClamp; profile->mapper = _toneMappingClamp;
} }