Eevee: Fix AA in render mode.

Was due to wrong framebuffer being read because of wrong comparisson caused
by b9ec7a9272
This commit is contained in:
Clément Foucault 2018-04-17 15:32:30 +02:00
parent c991bb0baf
commit 1eea3e4d6b
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ void EEVEE_draw_effects(EEVEE_ViewLayerData *UNUSED(sldata), EEVEE_Data *vedata)
/* Save the final texture and framebuffer for final transformation or read. */
effects->final_tx = effects->source_buffer;
effects->final_fb = (effects->target_buffer != fbl->main_fb) ? fbl->main_fb : fbl->effect_fb;
effects->final_fb = (effects->target_buffer != fbl->main_color_fb) ? fbl->main_fb : fbl->effect_fb;
/* If no post processes is enabled, buffers are still not swapped, do it now. */
SWAP_DOUBLE_BUFFERS();