Workbench: Fix TAA logic
authorClément Foucault <foucault.clem@gmail.com>
Tue, 21 May 2019 08:07:41 +0000 (10:07 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 22 May 2019 11:29:04 +0000 (13:29 +0200)
commit657165db94f14150416c2ee2221eeeafa32603f3
tree3c58d8e6240ca7fbffbe484eaa1f9339046f4cea
parent774022260a215dbd9ec3f978c1259f288fecb77c
Workbench: Fix TAA logic

Having both TAA and FXAA enabled at the same time resulted in conflicts.
The jitter_index was incremented twice before being used instead of once.
source/blender/draw/engines/workbench/workbench_effect_aa.c
source/blender/draw/engines/workbench/workbench_effect_taa.c
source/blender/draw/engines/workbench/workbench_private.h