diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2021-02-24 19:09:40 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-02-24 19:10:18 +0300 |
commit | b0b33b77fae0d3def497fcbab6fa3ac85abaa98b (patch) | |
tree | b362900d94728b0055ac9fcd2ad0ce433c6f8d0d /source/blender/draw | |
parent | b22204fa370d93e4b484407942d35aaa2ad986a1 (diff) |
Workbench: Fix typo in rB32ca8e58a374
This was creating incorrectly occluded overlays.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_effect_antialiasing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_effect_antialiasing.c b/source/blender/draw/engines/workbench/workbench_effect_antialiasing.c index 84cc4359aa6..07121519ef4 100644 --- a/source/blender/draw/engines/workbench/workbench_effect_antialiasing.c +++ b/source/blender/draw/engines/workbench/workbench_effect_antialiasing.c @@ -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; } } |