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/space_text/text_draw.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/editors/space_text/text_draw.c') diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c index f40cc98d4f7..f1b1d6760f3 100644 --- a/source/blender/editors/space_text/text_draw.c +++ b/source/blender/editors/space_text/text_draw.c @@ -1354,7 +1354,6 @@ static void draw_text_decoration(SpaceText *st, ARegion *region) highlight_color[3] = 0.1f; immUniformColor4fv(highlight_color); GPU_blend(GPU_BLEND_ALPHA); - GPU_blend(GPU_BLEND_ALPHA); immRecti(pos, 0, y1, region->winx, y2); GPU_blend(GPU_BLEND_NONE); } -- cgit v1.2.3