Skip to content

Commit

Permalink
Add fallback effect
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Jan 21, 2025
1 parent 4fcfc91 commit bccd5f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions obs-shaderfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2673,6 +2673,8 @@ static void draw_output(struct shader_filter_data *filter)

gs_texture_t *texture = gs_texrender_get_texture(filter->output_texrender);
gs_effect_t *pass_through = filter->output_effect;
if (!pass_through)
pass_through = obs_get_base_effect(OBS_EFFECT_DEFAULT);

if (filter->param_output_image) {
gs_effect_set_texture(filter->param_output_image, texture);
Expand Down

0 comments on commit bccd5f6

Please sign in to comment.