Workbench: Fix typo in rB32ca8e58a374

This was creating incorrectly occluded overlays.
This commit is contained in:
Clément Foucault
2021-02-24 17:09:40 +01:00
parent b22204fa37
commit b0b33b77fa

View File

@@ -73,7 +73,7 @@ static void workbench_taa_jitter_init_order(float (*table)[2], int num)
/* Avoid samples outside range (wrap arround). */
table[index][i] = fmodf(table[index][i] + 0.5f, 1.0f);
/* Recenter the distribution[-1..1]. */
table[index][i] += table[index][i] * 2.0f - 1.0f;
table[index][i] = table[index][i] * 2.0f - 1.0f;
}
}