From 10558d6973be8fc461a4b8aad734ba0881d18e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sun, 16 Aug 2020 15:33:05 +0200 Subject: Cleanup: GPUState: remove use of GPU_blend_set_func --- source/blender/editors/mask/mask_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mask') diff --git a/source/blender/editors/mask/mask_draw.c b/source/blender/editors/mask/mask_draw.c index f39ca028e7a..a4f43650c3b 100644 --- a/source/blender/editors/mask/mask_draw.c +++ b/source/blender/editors/mask/mask_draw.c @@ -740,7 +740,7 @@ void ED_mask_draw_region( if (overlay_mode != MASK_OVERLAY_ALPHACHANNEL) { /* More blending types could be supported in the future. */ GPU_blend(true); - GPU_blend_set_func(GPU_DST_COLOR, GPU_ZERO); + GPU_blend_set_func_separate(GPU_BLEND_MULTIPLY); } GPU_matrix_push(); -- cgit v1.2.3