Переглянути джерело

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();