Browse Source

libobs: Make sure to destroy effect

This actually isn't necessary because the graphics subsystem technically
automatically frees effects, but that could change, so call this just to
be safe.
jp9000 6 years ago
parent
commit
2a92555f58
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libobs/obs.c

+ 1 - 0
libobs/obs.c

@@ -531,6 +531,7 @@ static void obs_free_graphics(void)
 		gs_effect_destroy(video->solid_effect);
 		gs_effect_destroy(video->conversion_effect);
 		gs_effect_destroy(video->bicubic_effect);
+		gs_effect_destroy(video->repeat_effect);
 		gs_effect_destroy(video->lanczos_effect);
 		gs_effect_destroy(video->bilinear_lowres_effect);
 		video->default_effect = NULL;