libobs: Don't force premultiplied alpha on filters

Many filters need to remultiply alpha on output.
This commit is contained in:
jpark37
2021-04-27 23:22:00 -07:00
committed by Jim
parent 2d315331d6
commit a44e09f2e4
-5
View File
@@ -3762,9 +3762,6 @@ static void obs_source_process_filter_tech_end_internal(
const char *tech = tech_name ? tech_name : "Draw";
gs_blend_state_push();
gs_blend_function(GS_BLEND_ONE, GS_BLEND_INVSRCALPHA);
if (can_bypass(target, parent, parent_flags, filter->allow_direct)) {
render_filter_bypass(target, effect, tech);
} else {
@@ -3774,8 +3771,6 @@ static void obs_source_process_filter_tech_end_internal(
}
}
gs_blend_state_pop();
gs_set_linear_srgb(previous);
}