浏览代码

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 年之前
父节点
当前提交
2a92555f58
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;