Cleanup: Redundant variable assignment to self

Was triggering strict compiler warning.
This commit is contained in:
2019-12-09 14:56:53 +01:00
parent baeb11826b
commit 312b6fd713

View File

@@ -672,9 +672,9 @@ void MathPingpongOperation::executePixelSampled(float output[4],
this->m_inputValue1Operation->readSampled(inputValue1, x, y, sampler);
this->m_inputValue2Operation->readSampled(inputValue2, x, y, sampler);
output[0] = output[0] = fabsf(
fractf((inputValue1[0] - inputValue2[0]) / (inputValue2[0] * 2.0f)) * inputValue2[0] * 2.0f -
inputValue2[0]);
output[0] = fabsf(fractf((inputValue1[0] - inputValue2[0]) / (inputValue2[0] * 2.0f)) *
inputValue2[0] * 2.0f -
inputValue2[0]);
clampIfNeeded(output);
}