[Bf-blender-cvs] [8f3b657c9ff] temp-gpencil-masking: Fix wrong flag
Antonio Vazquez
noreply at git.blender.org
Tue Apr 20 19:19:26 CEST 2021
Commit: 8f3b657c9ff1d8b44a4fd12b0a90fa21e5fd32b7
Author: Antonio Vazquez
Date: Tue Apr 20 19:19:23 2021 +0200
Branches: temp-gpencil-masking
https://developer.blender.org/rB8f3b657c9ff1d8b44a4fd12b0a90fa21e5fd32b7
Fix wrong flag
===================================================================
M source/blender/draw/engines/gpencil/gpencil_engine.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index f6c2f2abec0..701e659e965 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -309,7 +309,7 @@ void GPENCIL_cache_init(void *ved)
DRW_shgroup_call_procedural_triangles(grp, NULL, 1);
}
{
- DRWState state = DRW_STATE_WRITE_COLOR | DRW_STATE_BLEND_ALPHA_PREMUL;
+ DRWState state = DRW_STATE_WRITE_COLOR | DRW_STATE_BLEND_MUL;
DRW_PASS_CREATE(psl->mask_intersect_ps, state);
GPUShader *sh = GPENCIL_shader_mask_intersect_get();
More information about the Bf-blender-cvs
mailing list