app: remove clamps from addition, subtract and grain blend modes

parent 39adf362
......@@ -109,7 +109,6 @@ gimp_operation_addition_process_pixels (gfloat *in,
gfloat comp = in[b] + layer[b];
out[b] = comp * comp_alpha + in[b] * (1.0 - comp_alpha);
out[b] = CLAMP (out[b], 0.0, 1.0);
}
}
else
......
......@@ -110,7 +110,6 @@ gimp_operation_grain_extract_process_pixels (gfloat *in,
gfloat comp = in[b] - layer[b] + 0.5;
out[b] = comp * comp_alpha + in[b] * (1.0 - comp_alpha);
out[b] = CLAMP (out[b], 0.0, 1.0);
}
}
else
......
......@@ -109,7 +109,6 @@ gimp_operation_grain_merge_process_pixels (gfloat *in,
gfloat comp = in[b] + layer[b] - 0.5;
out[b] = comp * comp_alpha + in[b] * (1.0 - comp_alpha);
out[b] = CLAMP (out[b], 0.0, 1.0);
}
}
else
......
......@@ -108,7 +108,6 @@ gimp_operation_subtract_process_pixels (gfloat *in,
{
gfloat comp = in[b] - layer[b];
out[b] = comp * comp_alpha + in[b] * (1.0 - comp_alpha);
out[b] = CLAMP(out[b], 0.0, 1.0);
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment