From 665aa6a2a0c672f43da55daddcc4fb4db09e78b1 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Mon, 14 Nov 2016 20:04:59 -0500 Subject: blender 2.8: Opengl: UI_draw_roundbox all is in the title too.. Reviewers: merwin Reviewed By: merwin Subscribers: Blendify, Severin Tags: #bf_blender_2.8, #opengl_gfx Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2337 --- source/blender/editors/interface/interface_style.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/editors/interface/interface_style.c') diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c index 8b41302b5bb..fd127ac6182 100644 --- a/source/blender/editors/interface/interface_style.c +++ b/source/blender/editors/interface/interface_style.c @@ -307,7 +307,6 @@ void UI_fontstyle_draw_simple_backdrop( const float margin = height / 4.0f; /* backdrop */ - glColor4ubv(bg); UI_draw_roundbox_corner_set(UI_CNR_ALL | UI_RB_ALPHA); UI_draw_roundbox( @@ -315,7 +314,7 @@ void UI_fontstyle_draw_simple_backdrop( (y + decent) - margin, x + width + margin, (y + decent) + height + margin, - margin); + margin, bg); glColor4ubv(fg); } -- cgit v1.2.3