diff options
author | Antonioya <blendergit@gmail.com> | 2019-06-22 18:11:53 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-06-22 18:11:53 +0300 |
commit | d51ad19f8c8e8091cf822a279f288a0559e139a7 (patch) | |
tree | db8c9deb7105eefab2caf5e821d77859826d305b | |
parent | 8bf1977d311fc7d8b5979fdd6ac5b982076b1e60 (diff) |
GPencil: Don't use MSAA for background texture
This texture has already the MSAA applied.
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c index 916f2eed575..61ab45eae03 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.c +++ b/source/blender/draw/engines/gpencil/gpencil_engine.c @@ -924,10 +924,12 @@ void GPENCIL_draw_scene(void *ved) if ((!is_render) && (stl->g_data->session_flag & GP_DRW_PAINT_PAINTING)) { GPU_framebuffer_bind(dfbl->default_fb); - MULTISAMPLE_GP_SYNC_ENABLE(stl->storage->multisamples, fbl); if (obact->dt != OB_BOUNDBOX) { DRW_draw_pass(psl->background_pass); } + + MULTISAMPLE_GP_SYNC_ENABLE(stl->storage->multisamples, fbl); + DRW_draw_pass(psl->drawing_pass); MULTISAMPLE_GP_SYNC_DISABLE(stl->storage->multisamples, fbl, dfbl->default_fb, txl); |