Fixed hdr color mapping, broken in previous commit
It was broken in commit 6964e73cd745386ebf131ad0955ed2db590b12fe
This commit is contained in:
parent
d713447f54
commit
356b1dad5b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue