GPencil: Don't use MSAA for background texture
This texture has already the MSAA applied.
This commit is contained in:
parent
8bf1977d31
commit
d51ad19f8c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue