From c4580ac6baedd3e9ec2560e24afb558bb55174be Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 21 Dec 2016 15:31:13 -0800 Subject: [PATCH] obs-text: Do not reset blend state Similar to the parent commit, do not reset the blend state if the source is not marked as a custom drawn source. Filters applied won't have the correct blend state and the alpha edges of the text will be partially black. --- plugins/obs-text/gdiplus/obs-text.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/obs-text/gdiplus/obs-text.cpp b/plugins/obs-text/gdiplus/obs-text.cpp index 2878b0841..ba1405628 100644 --- a/plugins/obs-text/gdiplus/obs-text.cpp +++ b/plugins/obs-text/gdiplus/obs-text.cpp @@ -787,7 +787,6 @@ inline void TextSource::Render(gs_effect_t *effect) if (!tex) return; - gs_reset_blend_state(); gs_effect_set_texture(gs_effect_get_param_by_name(effect, "image"), tex); gs_draw_sprite(tex, 0, cx, cy); }