diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-02-17 21:34:38 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-02-17 21:37:48 +0300 |
commit | a661ef42fbdbef2b3713a111853c63007714c4e0 (patch) | |
tree | 6bbfd647c16a940a12975d396b7549421620aacd /source/blender/draw | |
parent | f78c407aff0f075e525ba3a102acda6b185215fe (diff) |
Overlays: Fixed blending issue when not using smooth wire
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_antialiasing.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_antialiasing.c b/source/blender/draw/engines/overlay/overlay_antialiasing.c index 817b78cc319..b8e39e3f0a9 100644 --- a/source/blender/draw/engines/overlay/overlay_antialiasing.c +++ b/source/blender/draw/engines/overlay/overlay_antialiasing.c @@ -157,13 +157,13 @@ void OVERLAY_antialiasing_cache_finish(OVERLAY_Data *vedata) GPU_ATTACHMENT_TEXTURE(txl->overlay_line_tx)}); } else { - GPU_framebuffer_ensure_config( - &fbl->overlay_in_front_fb, - {GPU_ATTACHMENT_TEXTURE(dtxl->depth_in_front), GPU_ATTACHMENT_TEXTURE(dtxl->color)}); + GPU_framebuffer_ensure_config(&fbl->overlay_in_front_fb, + {GPU_ATTACHMENT_TEXTURE(dtxl->depth_in_front), + GPU_ATTACHMENT_TEXTURE(dtxl->color_overlay)}); GPU_framebuffer_ensure_config(&fbl->overlay_line_in_front_fb, {GPU_ATTACHMENT_TEXTURE(dtxl->depth_in_front), - GPU_ATTACHMENT_TEXTURE(dtxl->color), + GPU_ATTACHMENT_TEXTURE(dtxl->color_overlay), GPU_ATTACHMENT_TEXTURE(txl->overlay_line_tx)}); } } |