From 298329554a5a0ae40bc4a64ca9c1490d22edc947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sun, 16 Aug 2020 16:48:21 +0200 Subject: Cleanup: GPUState: remove double GPU_blend calls --- source/blender/editors/mask/mask_draw.c | 2 -- 1 file changed, 2 deletions(-) (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 b5db7b3d37e..dbaa335a9bf 100644 --- a/source/blender/editors/mask/mask_draw.c +++ b/source/blender/editors/mask/mask_draw.c @@ -594,7 +594,6 @@ static void draw_mask_layers(const bContext *C, const int width, const int height) { - GPU_blend(GPU_BLEND_ALPHA); GPU_blend(GPU_BLEND_ALPHA); GPU_program_point_size(true); @@ -739,7 +738,6 @@ void ED_mask_draw_region( if (overlay_mode != MASK_OVERLAY_ALPHACHANNEL) { /* More blending types could be supported in the future. */ - GPU_blend(GPU_BLEND_ALPHA); GPU_blend(GPU_BLEND_MULTIPLY); } -- cgit v1.2.3