diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-09-11 23:11:05 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-09-11 23:11:15 +0300 |
commit | 8eedccb3f5d91bc60c4feb284cc2045badb45041 (patch) | |
tree | bce5c2502d8b369ccdc88e61d22894b7bd76f964 /source | |
parent | 6c6c3bad02d0f6f9c3deee40f403bb4f48ff7f26 (diff) |
Fix T56752: Tooltip flicker alpha on redraw
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index dd57a27102f..e81af2755b1 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -2463,6 +2463,7 @@ static void widget_menu_back(uiWidgetColors *wcol, rcti *rect, int flag, int dir rect->ymax += 0.1f * U.widget_unit; } + GPU_blend_set_func_separate(GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA, GPU_ONE, GPU_ONE_MINUS_SRC_ALPHA); GPU_blend(true); widget_softshadow(rect, roundboxalign, wcol->roundness * U.widget_unit); |