Cleanup: Typo fix in HSV code.

This commit is contained in:
Thomas Dinges 2015-04-04 07:46:28 +02:00
parent 12cede5ca3
commit e5392069cc
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ ccl_device void svm_node_hsv(KernelGlobals *kg, ShaderData *sd, float *stack, ui
color.y = fac*color.y + (1.0f - fac)*in_color.y;
color.z = fac*color.z + (1.0f - fac)*in_color.z;
/* Clamp color to prevent negative values cauzed by oversaturation. */
/* Clamp color to prevent negative values caused by oversaturation. */
color.x = max(color.x, 0.0f);
color.y = max(color.y, 0.0f);
color.z = max(color.z, 0.0f);