瀏覽代碼

Add async texrender to cleanup

Palana 11 年之前
父節點
當前提交
14f3e79260
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libobs/obs-source.c

+ 1 - 0
libobs/obs-source.c

@@ -221,6 +221,7 @@ void obs_source_destroy(struct obs_source *source)
 		source_frame_destroy(source->video_frames.array[i]);
 
 	gs_entercontext(obs->video.graphics);
+	texrender_destroy(source->async_convert_texrender);
 	texture_destroy(source->async_texture);
 	gs_leavecontext();